kernel-fxtec-pro1x/arch/mn10300
David Howells 616df13511 MN10300: Stop gcc from generating uninitialised variable warnings after BUG()
Stop gcc from generating uninitialised variable warnings after BUG().  The
problem is that MN10300's implementation of BUG() invokes system call 15 which
doesn't return - but there's no way to tell the compiler that and also emit the
bug table element with the correct file and line data.

So instead, we make the do...while wrapper in _debug_bug_trap() an endless loop
from which there's no escape.

Also, while we're at it, (1) get rid of _debug_bug_trap() and just implement
directly as BUG(), and (2) make the implementation of BUG() contingent on
CONFIG_BUG=y.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-15 13:55:13 -07:00
..
boot inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
configs
include/asm MN10300: Stop gcc from generating uninitialised variable warnings after BUG() 2009-04-15 13:55:13 -07:00
kernel MN10300: Wire up missing system calls 2009-04-15 13:55:13 -07:00
lib mn10300: provide __ucmpdi2() for MN10300 2008-07-04 10:40:07 -07:00
mm MN10300: Don't do misalignment handling for userspace 2008-11-12 10:41:18 -08:00
oprofile MN10300: Kill MN10300's own profiling Kconfig 2009-04-09 10:53:16 -07:00
proc-mn103e010 Separate out the proc- and unit-specific header directories from the general 2009-04-10 14:33:48 +01:00
unit-asb2303 Separate out the proc- and unit-specific header directories from the general 2009-04-10 14:33:48 +01:00
unit-asb2305 Separate out the proc- and unit-specific header directories from the general 2009-04-10 14:33:48 +01:00
Kconfig MN10300: Kill MN10300's own profiling Kconfig 2009-04-09 10:53:16 -07:00
Kconfig.debug MN10300: Add built-in testing for misalignment handler 2008-11-12 10:41:17 -08:00
Makefile Separate out the proc- and unit-specific header directories from the general 2009-04-10 14:33:48 +01:00