projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e515f04
)
powerpc/32: Define an is_kernel_addr() to fix ARCH=ppc compilation
author
Paul Mackerras
<paulus@samba.org>
Tue, 9 May 2006 06:00:59 +0000
(16:00 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Tue, 9 May 2006 06:00:59 +0000
(16:00 +1000)
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>
include/asm-ppc/page.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-ppc/page.h
b/include/asm-ppc/page.h
index a70ba2ee552d8f4f722aa87d19597155fb9ff4f9..0fb68a0b0181c311eae08877d29809980639a76e 100644
(file)
--- a/
include/asm-ppc/page.h
+++ b/
include/asm-ppc/page.h
@@
-20,6
+20,7
@@
/* This must match what is in arch/ppc/Makefile */
#define PAGE_OFFSET CONFIG_KERNEL_START
#define KERNELBASE PAGE_OFFSET
+#define is_kernel_addr(x) ((x) >= PAGE_OFFSET)
#ifndef __ASSEMBLY__