]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix BUG_ON() reporting in real mode
authorBalbir Singh <bsingharora@gmail.com>
Thu, 18 Feb 2016 02:48:01 +0000 (13:48 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Feb 2016 09:09:04 +0000 (20:09 +1100)
commit08de03721b7e8ef52712a5ce684d34a8e0189163
tree298c791fd82de132ae1ec3c0fa4144290287507d
parentd8af2a15e33a28d3743eb780f9c41f5b939e10a1
powerpc: Fix BUG_ON() reporting in real mode

I ran into this issue while debugging an early boot problem. The system
hit a BUG_ON() but report bug failed to print the line number and file
name. The reason being that the system was running in real mode and
report_bug() searches for addresses in the PAGE_OFFSET+ region.

Suggested-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c