summaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:13:02 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:21 -0500
commitc28a4be6035ac050446897c0e0b5d0de591a58ae (patch)
tree81ab789dac4750e64fedd45ce2acecacdc894152 /bsd-user
parentb7bfe178feaf03fec0e72e636a7940edbbd167eb (diff)
downloadqemu-c28a4be6035ac050446897c0e0b5d0de591a58ae.tar.gz
qemu-c28a4be6035ac050446897c0e0b5d0de591a58ae.tar.bz2
qemu-c28a4be6035ac050446897c0e0b5d0de591a58ae.zip
rename HAVE_GPROF to TARGET_GPROF
Use was not consistent, in Makefile was TARGET_GPROF and in *h HAVE_GPROF Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'bsd-user')
-rw-r--r--bsd-user/syscall.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c
index 4f713f2e8f..3cff35765a 100644
--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -66,7 +66,7 @@ abi_long do_freebsd_syscall(void *cpu_env, int num, abi_long arg1,
switch(num) {
case TARGET_FREEBSD_NR_exit:
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
_mcleanup();
#endif
gdb_exit(cpu_env, arg1);
@@ -138,7 +138,7 @@ abi_long do_netbsd_syscall(void *cpu_env, int num, abi_long arg1,
switch(num) {
case TARGET_NETBSD_NR_exit:
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
_mcleanup();
#endif
gdb_exit(cpu_env, arg1);
@@ -210,7 +210,7 @@ abi_long do_openbsd_syscall(void *cpu_env, int num, abi_long arg1,
switch(num) {
case TARGET_OPENBSD_NR_exit:
-#ifdef HAVE_GPROF
+#ifdef TARGET_GPROF
_mcleanup();
#endif
gdb_exit(cpu_env, arg1);