android_kernel_xiaomi_sm8350/arch/mips
David Daney 8ec2e24356 MIPS: Make BUG() __noreturn.
Often we do things like put BUG() in the default clause of a case
statement.  Since it was not declared __noreturn, this could sometimes
lead to bogus compiler warnings that variables were used
uninitialized.

There is a small problem in that we have to put a magic while(1); loop to
fool GCC into really thinking it is noreturn.  This makes the new
BUG() function 3 instructions long instead of just 1, but I think it
is worth it as it is now unnecessary to do extra work to silence the
'used uninitialized' warnings.

I also re-wrote BUG_ON so that if it is given a constant condition, it
just does BUG() instead of loading a constant value in to a register
and testing it.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-11-24 16:35:07 +00:00
..
alchemy MIPS: Alchemy: Wire up SD controller on DB/PB1200 boards. 2008-10-27 16:18:27 +00:00
basler/excite [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
bcm47xx MIPS: WGT634U: Add reset button support 2008-10-15 12:46:51 +01:00
boot
cobalt
configs CHAR: Delete old and now unused M48T35 RTC driver for SGI IP27. 2008-10-30 14:44:35 +00:00
dec mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
emma MIPS: Markeins: Remove unnecessary define and cleanup comments, etc. 2008-10-27 16:18:31 +00:00
fw
gt64120/wrppmc
include/asm MIPS: Make BUG() __noreturn. 2008-11-24 16:35:07 +00:00
jazz [MIPS] Jazz: Fix build error by header file inclusion weeding. 2008-08-26 09:10:20 +01:00
kernel MIPS: csrc-r4k: Fix spelling mistake. 2008-11-20 19:42:33 +00:00
lasat sysctl: simplify ->strategy 2008-10-16 11:21:47 -07:00
lemote/lm2e MIPS: lemote/lm2e: Added io_map_base to pci controller 2008-10-27 16:18:31 +00:00
lib MIPS: Add CONFIG_CPU_R5500 for NEC VR5500 series processors 2008-10-27 16:18:29 +00:00
math-emu MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
mipssim
mm MIPS: IP22: Make indy_sc_ops variable static 2008-11-20 19:42:33 +00:00
mti-malta MIPS: Malta: Fix include paths in malta-amon.c 2008-11-20 19:42:32 +00:00
nxp MIPS: Add support for NXP PNX833x (STB222/5) into linux kernel 2008-10-27 16:18:29 +00:00
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
pci MIPS: EMMA: Move <asm/emma2rh> to <asm/emma> dir 2008-10-27 16:18:29 +00:00
pmc-sierra mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
rb532 MIPS: RB532: Provide functions for gpio configuration 2008-11-20 19:42:33 +00:00
sgi-ip22 MIPS: IP22: ip22-int.c header file weeding. 2008-10-27 16:18:28 +00:00
sgi-ip27 MIPS: IP27: Switch over to RTC class driver 2008-10-15 12:46:51 +01:00
sgi-ip32 MIPS: IP32: Add platform device for CMOS RTC; remove dead code 2008-10-15 12:46:52 +01:00
sibyte mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
sni
txx9 MIPS: RBTX4927: Add GPIO-LED support 2008-10-30 14:44:33 +00:00
vr41xx [MIPS] VR41xx: unsigned irq cannot be negative 2008-09-16 11:04:30 +02:00
Kconfig CHAR: Delete old and now unused DS1286 driver. 2008-10-30 14:44:35 +00:00
Kconfig.debug [MIPS] kgdb: Remove existing implementation 2008-07-30 21:54:42 +01:00
Makefile MIPS: EMMA: Move arch/mips/emma2rh/ into arch/mips/emma/ 2008-10-27 16:18:29 +00:00