Files
android_kernel_xiaomi_sm8450/arch/sh/include/asm
Stuart Menefy fd78a76aef sh: Rework irqflags tracing to fix up CONFIG_PROVE_LOCKING.
This cleans up the irqflags tracing code quite a bit and ties it
in to various missing callsites that caused an imbalance when
CONFIG_PROVE_LOCKING was enabled.

Previously this was catching on:

 987 #ifdef CONFIG_PROVE_LOCKING
 988     DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled);
 989     DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled);
 990 #endif
 991     retval = -EAGAIN;

with hardirqs being doubly enabled, and subsequently bailing out
with the following call trace:

	Call trace:
	[<88035224>] __lock_acquire+0x616/0x6a6
	[<88015a8c>] do_fork+0xf8/0x2b0
	[<880331ec>] trace_hardirqs_on_caller+0xd4/0x114
	[<88241074>] _spin_unlock_irq+0x20/0x64
	[<88035224>] __lock_acquire+0x616/0x6a6
	[<8800386c>] kernel_thread+0x48/0x70
	[<88024ecc>] ____call_usermodehelper+0x0/0x110
	[<88024ecc>] ____call_usermodehelper+0x0/0x110
	[<88003894>] kernel_thread_helper+0x0/0x14
	[<88024bac>] __call_usermodehelper+0x38/0x70
	[<88025dc0>] worker_thread+0x150/0x274
	[<88035b9c>] lock_release+0x0/0x198
	[<88024b74>] __call_usermodehelper+0x0/0x70
	[<88028cf0>] autoremove_wake_function+0x0/0x30
	[<88028bf2>] kthread+0x3e/0x70
	[<88025c70>] worker_thread+0x0/0x274
	[<8800389c>] kernel_thread_helper+0x8/0x14
	[<88028bb4>] kthread+0x0/0x70
	[<88003894>] kernel_thread_helper+0x0/0x14

Reported-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-07-29 23:01:24 +09:00
..
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:43:50 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-04-19 13:06:25 +09:00
2008-07-29 08:09:44 +09:00
2009-06-14 21:45:06 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-05-29 08:40:02 -07:00
2008-07-29 08:09:44 +09:00
2009-07-11 10:08:01 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-01-27 14:49:10 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-10-04 05:25:52 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:44:04 +09:00
2009-05-09 16:02:08 +09:00
2008-07-29 08:09:44 +09:00
2009-07-03 16:16:54 +09:00
2008-07-29 08:09:44 +09:00
2009-06-01 15:44:49 +09:00
2008-07-29 08:09:44 +09:00
2009-03-31 07:42:37 +09:00
2009-06-14 23:24:14 +09:00
2009-06-17 14:04:42 -07:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-06-11 09:08:53 +03:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-04-27 17:34:39 +09:00
2008-07-29 08:09:44 +09:00
2008-08-02 04:39:32 +09:00
2009-03-10 12:55:40 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:44:44 +09:00
2008-08-07 02:20:57 -04:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-06-14 23:25:57 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-06-11 09:31:55 +03:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-09-08 10:35:04 +09:00
2008-09-08 10:35:04 +09:00
2008-07-29 08:09:44 +09:00
2008-08-04 12:51:06 +09:00
2008-07-29 08:09:44 +09:00
2009-06-14 23:25:27 +09:00
2009-05-09 00:09:21 +09:00
2009-06-12 01:33:22 +03:00
2009-06-12 01:33:22 +03:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00