]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8b6f36c0b1f8b5d8a4ea8d77dee2f7c4547353d
treefdd631a172e808aee8d3526bced0e5b025b0bde7
parent21084cc0aee55566a2ee87578b263cac6495c664
powerpc: Add missing prototype for slb_miss_bad_addr()

In commit 966f1e6db1a1 ("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