summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorMathieu Malaterre2018-02-25 18:22:25 +0100
committerMichael Ellerman2018-03-13 05:50:35 +0100
commit45b4d27a3897d6094bcf84bc87743954e038620a (patch)
treefdd631a172e808aee8d3526bced0e5b025b0bde7 /arch/powerpc/include
parentpowerpc/kernel: Make function __giveup_fpu() static (diff)
downloadkernel-qcow2-linux-45b4d27a3897d6094bcf84bc87743954e038620a.tar.gz
kernel-qcow2-linux-45b4d27a3897d6094bcf84bc87743954e038620a.tar.xz
kernel-qcow2-linux-45b4d27a3897d6094bcf84bc87743954e038620a.zip
powerpc: Add missing prototype for slb_miss_bad_addr()
In commit f0f558b131db ("powerpc/mm: Preserve CFAR value on SLB miss caused by access to bogus address"), the function slb_miss_bad_addr() was added without a prototype. This commit adds it. Fix a warning (treated as error in W=1): arch/powerpc/kernel/traps.c:1498:6: error: no previous prototype for ‘slb_miss_bad_addr’ Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/asm-prototypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/asm-prototypes.h b/arch/powerpc/include/asm/asm-prototypes.h
index 7330150bfe34..0af1925e30db 100644
--- a/arch/powerpc/include/asm/asm-prototypes.h
+++ b/arch/powerpc/include/asm/asm-prototypes.h
@@ -62,6 +62,7 @@ void RunModeException(struct pt_regs *regs);
void single_step_exception(struct pt_regs *regs);
void program_check_exception(struct pt_regs *regs);
void alignment_exception(struct pt_regs *regs);
+void slb_miss_bad_addr(struct pt_regs *regs);
void StackOverflow(struct pt_regs *regs);
void nonrecoverable_exception(struct pt_regs *regs);
void kernel_fp_unavailable_exception(struct pt_regs *regs);