]> git.proxmox.com Git - mirror_qemu.git/commit
target/hexagon: Drop include of qemu.h
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 17 Jul 2021 10:30:17 +0000 (11:30 +0100)
committerTaylor Simpson <tsimpson@quicinc.com>
Wed, 21 Jul 2021 20:54:02 +0000 (15:54 -0500)
commit25fc9b79cd057e394f35d7afc18493becd515797
tree6d2a99e70928fc3a8f505169a419bb050e6f6941
parent4699a9277932a0e5b5a22ffed18a753c51a0f3cb
target/hexagon: Drop include of qemu.h

The qemu.h file is a CONFIG_USER_ONLY header; it doesn't appear on
the include path for softmmu builds.  Currently we include it
unconditionally in target/hexagon/op_helper.c.  We used to need it
for the put_user_*() and get_user_*() functions, but now that we have
removed the uses of those from op_helper.c, the only reason it's
still there is that we're implicitly relying on it pulling in some
other headers.

Explicitly include the headers we need for other functions, and drop
the include of qemu.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210717103017.20491-1-peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
target/hexagon/op_helper.c