]> err.no Git - linux-2.6/commit
[MIPS] lockdep: fix TRACE_IRQFLAGS_SUPPORT
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 26 Sep 2006 14:43:40 +0000 (23:43 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 1 Oct 2006 22:16:57 +0000 (23:16 +0100)
commiteae6c0da9df81300895949897c0451423340ac40
treea5e2d512d72e316a8aa79ec20286d1f2a8a98db3
parentd834c16516d1ebec4766fc58c059bf01311e6045
[MIPS] lockdep: fix TRACE_IRQFLAGS_SUPPORT

In handle_sys and its variants, we must reload some registers which
might be clobbered by trace_hardirqs_on().
Also we must make sure trace_hardirqs_on() called in kernel level (not
exception level).

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-o32.S
include/asm-mips/irqflags.h