summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2016-12-02 05:38:38 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-03-21 14:09:26 +0300
commit43a8888f0a70db62488fc3ad1505f6c6a2267803 (patch)
tree0d94fdf68e8cb94815502c4603b02f4238c0a102 /arch
parent3072601375ffff92bddd0ce810dd64f6e3c7f45c (diff)
downloadlinux-43a8888f0a70db62488fc3ad1505f6c6a2267803.tar.xz
powerpc: Fix missing CRCs, add more asm-prototypes.h declarations
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/asm-prototypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/asm-prototypes.h b/arch/powerpc/include/asm/asm-prototypes.h
index e02db66a77e3..7330150bfe34 100644
--- 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>