From 841c0c7ec75bef3c9920cd811270f9f84791ee04 Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Thu, 11 Mar 2010 14:49:06 +0000 Subject: Provide groundwork for 32-bit binary compatibility on non-x86 platforms, for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32 option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts of the kernel and enhances the freebsd32 compatibility code to support big-endian platforms. Reviewed by: kib, jhb --- sys/kern/kern_thr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/kern_thr.c') diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c index 116e79bae333..0b90dfc34067 100644 --- a/sys/kern/kern_thr.c +++ b/sys/kern/kern_thr.c @@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$"); #include -#ifdef COMPAT_IA32 +#ifdef COMPAT_FREEBSD32 static inline int suword_lwpid(void *addr, lwpid_t lwpid) -- cgit v1.2.3