powerpc/traps: Use an explicit ratelimit state for show_signal_msg()
authorMurilo Opsfelder Araujo <muriloo@linux.ibm.com>
Wed, 1 Aug 2018 21:33:16 +0000 (18:33 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 14:32:29 +0000 (00:32 +1000)
commit35a52a10c3ac5b425ff85c12913458b4741ab866
tree5125badbecf11392cc140f85afec6b58224f75d6
parent658b0f92bc7003bc734471f61bf7cd56339eb8c3
powerpc/traps: Use an explicit ratelimit state for show_signal_msg()

Replace printk_ratelimited() by printk() and a default rate limit
burst to limit displaying unhandled signals messages.

This will allow us to call print_vma_addr() in a future patch, which
does not work with printk_ratelimited().

Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c