Message ID | 20161202023837.GK2697@decadent.org.uk (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Fri, 2016-12-02 at 02:38:38 UTC, Ben Hutchings wrote: > 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> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/43a8888f0a70db62488fc3ad1505f6 cheers
diff --git a/arch/powerpc/include/asm/asm-prototypes.h b/arch/powerpc/include/asm/asm-prototypes.h index e0baba1535e6..ba0225ff38f8 100644 --- a/arch/powerpc/include/asm/asm-prototypes.h +++ b/arch/powerpc/include/asm/asm-prototypes.h @@ -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>
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> --- I checked all the symbols potentially exported from assembly under arch/powerpc, and these seem to be the only ones not yet declared through asm-prototypes.h (aside from those supporting Mac-on-Linux which are removed by the previous patch). Ben. arch/powerpc/include/asm/asm-prototypes.h | 2 ++ 1 file changed, 2 insertions(+)