powerpc: Fix missing CRCs, add yet more asm-prototypes.h declarations
authorBen Hutchings <ben@decadent.org.uk>
Fri, 2 Dec 2016 01:26:54 +0000 (01:26 +0000)
committerYves-Alexis Perez <corsac@debian.org>
Fri, 9 Feb 2018 12:58:52 +0000 (12:58 +0000)
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>
Gbp-Pq: Topic bugfix/powerpc
Gbp-Pq: Name powerpc-fix-missing-crcs-add-yet-more-asm-prototypes.patch

arch/powerpc/include/asm/asm-prototypes.h

index e0baba1535e6b08ab9350d64c51507ebfbf1630a..ba0225ff38f8e2bd1395d4e0d12103d935fd5c6b 100644 (file)
@@ -18,6 +18,8 @@
 #include <asm/checksum.h>
 #include <asm/uaccess.h>
 #include <asm/epapr_hcalls.h>
+#include <asm/dcr.h>
+#include <asm/mmu_context.h>
 
 #include <uapi/asm/ucontext.h>