Author: jhb
Date: Thu Oct 29 15:16:47 2015
New Revision: 290143
URL: https://svnweb.freebsd.org/changeset/base/290143
Log:
Fix build with DEBUG defined.
Reported by: hselasky
Modified:
head/sys/amd64/linux32/linux.h
head/sys/amd64/linux32/linux32_sysvec.c
Modified: head/sys/amd64/linux32/linux.h
==============================================================================
--- head/sys/amd64/linux32/linux.h Thu Oct 29 14:53:56 2015
(r290142)
+++ head/sys/amd64/linux32/linux.h Thu Oct 29 15:16:47 2015
(r290143)
@@ -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",
\
Modified: head/sys/amd64/linux32/linux32_sysvec.c
==============================================================================
--- head/sys/amd64/linux32/linux32_sysvec.c Thu Oct 29 14:53:56 2015
(r290142)
+++ head/sys/amd64/linux32/linux32_sysvec.c Thu Oct 29 15:16:47 2015
(r290143)
@@ -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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"