28 lines
919 B
Diff
28 lines
919 B
Diff
From: Ben Hutchings <ben@decadent.org.uk>
|
|
Date: Fri, 2 Dec 2016 01:26:54 +0000
|
|
Subject: powerpc: Fix missing CRCs, add yet more asm-prototypes.h declarations
|
|
Forwarded: https://lkml.kernel.org/r/20161202023837.GK2697@decadent.org.uk
|
|
|
|
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>)
|
|
- _mcount (if CONFIG_FUNCTION_TRACER=y; though <asm/ftrace.h>)
|
|
|
|
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
|
|
---
|
|
arch/powerpc/include/asm/asm-prototypes.h | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/arch/powerpc/include/asm/asm-prototypes.h
|
|
+++ b/arch/powerpc/include/asm/asm-prototypes.h
|
|
@@ -17,6 +17,9 @@
|
|
#include <asm/checksum.h>
|
|
#include <linux/uaccess.h>
|
|
#include <asm/epapr_hcalls.h>
|
|
+#include <asm/dcr.h>
|
|
+#include <asm/mmu_context.h>
|
|
+#include <asm/ftrace.h>
|
|
|
|
#include <uapi/asm/ucontext.h>
|
|
|