summaryrefslogtreecommitdiff
path: root/linux-user/exit.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-02-04 17:11:04 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-02-12 16:29:27 +0100
commit4cc600d22906a839719116043dbc3760e02c756e (patch)
tree59b810cb39df718e05ac83b55f4507f5a004eb2f /linux-user/exit.c
parentfe3dada3172310c7d3db666b4223d89e6c6f7fa3 (diff)
downloadqemu-4cc600d22906a839719116043dbc3760e02c756e.zip
build: move TARGET_GPROF to config-host.mak
TARGET_GPROF is the same for all targets, write it to config-host.mak instead. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: <20200204161104.21077-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user/exit.c')
-rw-r--r--linux-user/exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/exit.c b/linux-user/exit.c
index a362ef67d2..1594015444 100644
--- a/linux-user/exit.c
+++ b/linux-user/exit.c
@@ -18,7 +18,7 @@
*/
#include "qemu/osdep.h"
#include "qemu.h"
-#ifdef TARGET_GPROF
+#ifdef CONFIG_GPROF
#include <sys/gmon.h>
#endif
@@ -28,7 +28,7 @@ extern void __gcov_dump(void);
void preexit_cleanup(CPUArchState *env, int code)
{
-#ifdef TARGET_GPROF
+#ifdef CONFIG_GPROF
_mcleanup();
#endif
#ifdef CONFIG_GCOV