original_kernel/arch/mn10300/include/asm
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
..
Kbuild
atomic.h
auxvec.h
bitops.h
bug.h MN10300: Stop gcc from generating uninitialised variable warnings after BUG() 2009-04-15 13:55:13 -07:00
bugs.h
busctl-regs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cpu-regs.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dmactl-regs.h
elf.h
emergency-restart.h
errno.h
exceptions.h
fb.h
fcntl.h
fpu.h
frame.inc
ftrace.h
futex.h
gdb-stub.h
hardirq.h
highmem.h
hw_irq.h
intctl-regs.h
io.h
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq.h
irq_regs.h
kdebug.h
kmap_types.h
kprobes.h
linkage.h
local.h
mc146818rtc.h
mman.h
mmu.h
mmu_context.h
module.h
msgbuf.h
mutex.h
nmi.h
page.h
page_offset.h
param.h
pci.h
percpu.h
pgalloc.h
pgtable.h
pio-regs.h
poll.h
posix_types.h
processor.h
ptrace.h
reset-regs.h
resource.h
rtc-regs.h
rtc.h
scatterlist.h
sections.h
sembuf.h
serial-regs.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
spinlock.h
stat.h
statfs.h
string.h
swab.h
system.h
termbits.h
termios.h
thread_info.h
timer-regs.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h MN10300: Wire up missing system calls 2009-04-15 13:55:13 -07:00
user.h
vga.h
xor.h