]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc: Add missing prototypes for hw_breakpoint_handler() & arch_unregister_hw_brea...
authorMathieu Malaterre <malat@debian.org>
Sun, 25 Feb 2018 17:22:34 +0000 (18:22 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 04:50:39 +0000 (15:50 +1100)
commitb0d876da1d1cd33a1c28049512a136e61d0ff371
tree4cc403f323358a48dcdff9dcc4fa0b80e4406e56
parentb53875c4b4f212a7a8e505e2d1063500cdc9431e
powerpc: Add missing prototypes for hw_breakpoint_handler() & arch_unregister_hw_breakpoint()

In commit 5aae8a537080 ("powerpc, hw_breakpoints: Implement
hw_breakpoints for 64-bit server processors") function
hw_breakpoint_handler() and arch_unregister_hw_breakpoint() were added
without function prototypes in hw_breakpoint.h header.

Fix the following warning(s) (treated as error in W=1):
  arch/powerpc/kernel/hw_breakpoint.c:106:6: error: no previous prototype for ‘arch_unregister_hw_breakpoint’
  arch/powerpc/kernel/hw_breakpoint.c:209:5: error: no previous prototype for ‘hw_breakpoint_handler’

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hw_breakpoint.h