summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux32
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-10-29 15:16:47 +0000
committerjhb <jhb@FreeBSD.org>2015-10-29 15:16:47 +0000
commit617f6c60b65c64d30e7c47a50cfa49992c809824 (patch)
treee945f19b17c024c1e79f8f1d96051a2d6a71ba39 /sys/amd64/linux32
parent881f337ccc3fc73eae4129c766c46b4288c2abee (diff)
downloadFreeBSD-src-617f6c60b65c64d30e7c47a50cfa49992c809824.zip
FreeBSD-src-617f6c60b65c64d30e7c47a50cfa49992c809824.tar.gz
Fix build with DEBUG defined.
Reported by: hselasky
Diffstat (limited to 'sys/amd64/linux32')
-rw-r--r--sys/amd64/linux32/linux.h2
-rw-r--r--sys/amd64/linux32/linux32_sysvec.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h
index e3b9f11..02d12f5 100644
--- a/sys/amd64/linux32/linux.h
+++ b/sys/amd64/linux32/linux.h
@@ -40,7 +40,7 @@
* debugging support
*/
extern u_char linux_debug_map[];
-#define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name)
+#define ldebug(name) isclr(linux_debug_map, LINUX32_SYS_linux_ ## name)
#define ARGS(nm, fmt) "linux(%ld/%ld): "#nm"("fmt")\n", \
(long)td->td_proc->p_pid, (long)td->td_tid
#define LMSG(fmt) "linux(%ld/%ld): "fmt"\n", \
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
index 99e2117..6ed0369 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -105,8 +105,8 @@ MODULE_VERSION(linux, 1);
* to syscall 0. This is slightly less bogus than using
* ldebug(sigreturn).
*/
-#define LINUX_SYS_linux_rt_sendsig 0
-#define LINUX_SYS_linux_sendsig 0
+#define LINUX32_SYS_linux_rt_sendsig 0
+#define LINUX32_SYS_linux_sendsig 0
const char *linux_kplatform;
static int linux_szsigcode;
OpenPOWER on IntegriCloud