]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Fix build with DEBUG defined.
authorjhb <jhb@FreeBSD.org>
Thu, 29 Oct 2015 15:16:47 +0000 (15:16 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 29 Oct 2015 15:16:47 +0000 (15:16 +0000)
Reported by: hselasky

sys/amd64/linux32/linux.h
sys/amd64/linux32/linux32_sysvec.c

index e3b9f111a0a6ffc88e5b3ec4fc0c9a06acccfb8c..02d12f554e8ef6b86c2a1cc9ced88cc24c99128b 100644 (file)
@@ -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",                              \
index 99e211773d01c4db2831aa313b3213402946e10c..6ed036964fc250b67ffa497ce35017d9974ccbdc 100644 (file)
@@ -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;