diff options
author | 2015-11-19 13:22:42 +0100 | |
---|---|---|
committer | 2015-12-03 00:02:29 +0000 | |
commit | e9c38ceba8d96304c75ca99f7e49060af3a7e063 (patch) | |
tree | 312dedc9100aad77d99840c3ddb984956e5f083f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: 8451/1: v7-M: Set an early stack for __v7m_setup (diff) | |
download | wireguard-linux-e9c38ceba8d96304c75ca99f7e49060af3a7e063.tar.xz wireguard-linux-e9c38ceba8d96304c75ca99f7e49060af3a7e063.zip |
ARM: 8455/1: define __BUG as asm(BUG_INSTR) without CONFIG_BUG
Following (a long time after) a4b5d580e078 ("bug: Make BUG() always stop
the machine"), this adapts the ARM architecture to no longer rely
on the sub-optimal BUG() definition that has a silent endless loop
but instead use the same trapping instruction that we have for
the full BUG() support.
This avoids hundreds of warnings like
arch/arm/include/asm/xen/page.h: In function 'arbitrary_virt_to_machine':
arch/arm/include/asm/xen/page.h:85:1: warning: no return statement in function returning non-void [-Wreturn-type]
and also makes the code size slightly smaller. The behavior changes
from silently stopping the kernel to an oops, and follows what x86
does these days.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions