powerpc: Add missing prototype for slb_miss_bad_addr()
authorMathieu Malaterre <malat@debian.org>
Sun, 25 Feb 2018 17:22:25 +0000 (18:22 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 04:50:35 +0000 (15:50 +1100)
commit45b4d27a3897d6094bcf84bc87743954e038620a
treefdd631a172e808aee8d3526bced0e5b025b0bde7
parent1cdf039bf82a39d816ca4b8161b01c0acfca3e62
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>
arch/powerpc/include/asm/asm-prototypes.h