[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>
这个提交包含在:
Atsushi Nemoto
2006-09-26 23:43:40 +09:00
提交者 Ralf Baechle
父节点 d834c16516
当前提交 eae6c0da9d
修改 5 个文件,包含 29 行新增15 行删除

查看文件

@@ -33,7 +33,7 @@ NESTED(handle_sysn32, PT_SIZE, sp)
#ifndef CONFIG_MIPS32_O32
.set noat
SAVE_SOME
TRACE_IRQS_ON
TRACE_IRQS_ON_RELOAD
STI
.set at
#endif