diff options
author | David Howells <dhowells@redhat.com> | 2009-04-27 11:55:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-27 08:04:49 -0700 |
commit | 9a523d427dc5908a79ce3ff742e9606e852802d6 (patch) | |
tree | 15326ea197fa2632f4e5d7a7011d993ac10a2e15 /arch/m68knommu | |
parent | e37469f68a15feb40ee9f6325d1e1793f90afe39 (diff) | |
download | op-kernel-dev-9a523d427dc5908a79ce3ff742e9606e852802d6.zip op-kernel-dev-9a523d427dc5908a79ce3ff742e9606e852802d6.tar.gz |
FRV: Stop gcc from generating uninitialised variable warnings after BUG()
Stop gcc from generating uninitialised variable warnings after BUG().
The problem is that FRV's call into its gdbstub appears to return (if
the function is marked noreturn, then the compiler is under no
obligation to pass it a return address, and so GDB won't know where the
bug happened).
To get around this, we make the do...while wrapper in _debug_bug_trap()
an endless loop from which there's no escape.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu')
0 files changed, 0 insertions, 0 deletions