Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/32: Define an is_kernel_addr() to fix ARCH=ppc compilation

My commit 6bfd93c32a5065d0e858780b3beb0b667081601c broke the ARCH=ppc
compilation by using the is_kernel_addr() macro in asm/uaccess.h.
This fixes it by defining a suitable is_kernel_addr() for ARCH=ppc.

Signed-off-by: Paul Mackerras <paulus@samba.org>

+1
+1
include/asm-ppc/page.h
··· 20 20 /* This must match what is in arch/ppc/Makefile */ 21 21 #define PAGE_OFFSET CONFIG_KERNEL_START 22 22 #define KERNELBASE PAGE_OFFSET 23 + #define is_kernel_addr(x) ((x) >= PAGE_OFFSET) 23 24 24 25 #ifndef __ASSEMBLY__ 25 26