OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3072601
)
powerpc: Fix missing CRCs, add more asm-prototypes.h declarations
author
Ben Hutchings
<ben@decadent.org.uk>
Fri, 2 Dec 2016 02:38:38 +0000
(
02:38
+0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 21 Mar 2017 11:09:26 +0000
(22:09 +1100)
Add declarations for:
- __mfdcr, __mtdcr (if CONFIG_PPC_DCR_NATIVE=y; through <asm/dcr.h>)
- switch_mmu_context (if CONFIG_PPC_BOOK3S_64=n; through <asm/mmu_context.h>)
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/asm-prototypes.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/asm-prototypes.h
b/arch/powerpc/include/asm/asm-prototypes.h
index
e02db66
..
7330150
100644
(file)
--- a/
arch/powerpc/include/asm/asm-prototypes.h
+++ b/
arch/powerpc/include/asm/asm-prototypes.h
@@
-17,6
+17,8
@@
#include <asm/checksum.h>
#include <linux/uaccess.h>
#include <asm/epapr_hcalls.h>
+#include <asm/dcr.h>
+#include <asm/mmu_context.h>
#include <uapi/asm/ucontext.h>