Date: Thu, 29 Oct 2015 15:16:47 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290143 - head/sys/amd64/linux32 Message-ID: <201510291516.t9TFGlQo037134@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510291516.t9TFGlQo037134>