Commit graph android_kernel_sony_sdm845/arch/frv/include/asm/bug.h
Message SHA1
Disintegrate asm/system.h for FRV
Disintegrate asm/system.h for FRV.

Signed-off-by: David Howells <dhowells@redhat.com>

David Howells   commited 2012-03-28 18:30:02 +01:00
40ab331749
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>

David Howells   authored and   Linus Torvalds   commited 2009-04-27 08:04:49 -07:00
9a523d427d
FRV: Move to arch/frv/include/asm/
Move arch headers from include/asm-frv/ to arch/frv/include/asm/.

Signed-off-by: David Howells <dhowells@redhat.com>

David Howells   commited 2009-04-10 01:48:06 +01:00
e69cc92788
Renamed from include/asm-frv/bug.h (Browse further)