linux/arch/mips/kernel
Atsushi Nemoto ba755f8ec8 [MIPS] Fix BUG(), BUG_ON() handling
With commit 63dc68a8cf, kernel can not
handle BUG() and BUG_ON() properly since get_user() returns false for
kernel code.  Use __get_user() to skip unnecessary access_ok().  This
patch also make BRK_BUG code encoded in the TNE instruction.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-04-20 14:58:37 +01:00
..
asm-offsets.c [MIPS] Add basic SMARTMIPS ASE support 2007-02-22 00:50:44 +00:00
binfmt_elfn32.c
binfmt_elfo32.c
branch.c
cpu-bugs64.c
cpu-probe.c [MIPS] Make some __setup functions static 2007-02-20 01:26:41 +00:00
early_printk.c [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
entry.S [MIPS] lockdep: Handle interrupts in R3000 style c0_status register. 2007-03-29 23:46:35 +01:00
gdb-low.S
gdb-stub.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
genex.S [MIPS] lockdep: Deal with interrupt disable hazard in TRACE_IRQFLAGS 2007-03-29 23:46:35 +01:00
head.S [MIPS] Move some kernel globals from asm file to C file. 2007-02-06 16:53:16 +00:00
i8253.c
i8259.c [MIPS] Drop __init from init_8259A() 2007-02-20 17:11:55 +00:00
init_task.c
irix5sys.S
irixelf.c [MIPS] IRIX: Linux coding style cleanups. 2007-02-06 16:53:20 +00:00
irixinv.c
irixioctl.c
irixsig.c
irq_cpu.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq-msc01.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq-mv6434x.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
irq-rm7000.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq-rm9000.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq.c
kspd.c [MIPS] RTLX: Handle copy_*_user return values. 2007-03-17 01:03:29 +00:00
linux32.c [MIPS] Compat: Fix build if CONFIG_SYSVIPC is disabled. 2007-03-17 01:03:26 +00:00
machine_kexec.c Storage class should be before const qualifier 2007-02-17 20:11:19 +01:00
Makefile [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
mips_ksyms.c [MIPS] Export __copy_user_inatomic. 2007-03-07 00:07:17 +00:00
mips-mt.c [MIPS] VPE: Sprinkle device model code into code to make udev happier. 2007-02-10 22:38:42 +00:00
module.c
proc.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
process.c [MIPS] Make SMTC_IDLE_HOOK_DEBUG a proper option in Kconfig.debug. 2007-02-26 23:06:06 +00:00
ptrace32.c
ptrace.c [MIPS] Add basic SMARTMIPS ASE support 2007-02-22 00:50:44 +00:00
r4k_fpu.S [MIPS] Check FCSR for pending interrupts, alternative version 2007-03-17 01:03:25 +00:00
r4k_switch.S [MIPS] Disallow CpU exception in kernel again. 2007-04-20 14:58:37 +01:00
r2300_fpu.S
r2300_switch.S [MIPS] Disallow CpU exception in kernel again. 2007-04-20 14:58:37 +01:00
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c [MIPS] RTLX: Handle copy_*_user return values. 2007-03-17 01:03:29 +00:00
scall32-o32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-64.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-n32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-o32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
semaphore.c
setup.c [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
signal32.c [MIPS] Retry {save,restore}_fp_context if failed in atomic context. 2007-04-20 14:58:37 +01:00
signal_n32.c [MIPS] Check FCSR for pending interrupts, alternative version 2007-03-17 01:03:25 +00:00
signal-common.h [MIPS] Retry {save,restore}_fp_context if failed in atomic context. 2007-04-20 14:58:37 +01:00
signal.c [MIPS] Retry {save,restore}_fp_context if failed in atomic context. 2007-04-20 14:58:37 +01:00
smp-mt.c [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
smp.c [MIPS] SMP: Get smp_tune_scheduling to do something useful. 2007-02-22 00:50:45 +00:00
smtc-asm.S
smtc-proc.c
smtc.c [MIPS] SMTC: Fix recursion in instant IPI replay code. 2007-03-29 23:46:36 +01:00
stacktrace.c
syscall.c
sysirix.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
time.c [PATCH] clocksource: fixup is_continous changes on MIPS 2007-02-16 08:13:57 -08:00
topology.c
traps.c [MIPS] Fix BUG(), BUG_ON() handling 2007-04-20 14:58:37 +01:00
unaligned.c [MIPS] Always fixup unaligned accesses in kernel mode. 2007-02-26 23:06:06 +00:00
vmlinux.lds.S [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
vpe.c [MIPS] RTLX, VPE: Make open actually atomic. 2007-02-26 23:06:06 +00:00