Cliff Wickman 3a450de136 x86: UV: remove uv_flush_tlb_others() WARN_ON
In uv_flush_tlb_others() (arch/x86/kernel/tlb_uv.c),
the "WARN_ON(!in_atomic())" fails if CONFIG_PREEMPT is not enabled.

And CONFIG_PREEMPT is not enabled by default in the distribution that
most UV owners will use.

We could #ifdef CONFIG_PREEMPT the warning, but that is not good form.
And there seems to be no suitable fix to in_atomic() when CONFIG_PREMPT
is not on.

As Ingo commented:

  > and we have no proper primitive to test for atomicity. (mainly
  > because we dont know about atomicity on a non-preempt kernel)

So we drop the WARN_ON.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-03-08 11:17:15 +01:00
..
2009-02-22 20:05:19 +01:00
2009-01-20 12:29:20 +09:00
2009-02-24 22:43:15 +01:00
2009-01-21 13:00:42 +01:00
2009-02-25 08:27:46 +01:00
2009-01-20 12:29:19 +09:00
2008-12-12 11:08:42 +01:00
2009-02-10 13:13:23 +01:00
2009-02-23 00:08:11 +01:00
2008-12-31 18:07:42 -05:00
2009-02-09 12:16:05 +01:00
2009-02-17 17:52:44 +01:00
2009-02-23 00:08:11 +01:00
2009-02-17 17:52:44 +01:00
2009-02-23 00:08:11 +01:00
2009-01-02 17:46:24 +01:00
2009-02-26 06:40:06 +01:00
2009-02-23 00:08:11 +01:00
2009-01-12 11:22:50 +01:00
2009-01-20 17:14:28 +01:00
2009-02-23 00:08:11 +01:00
2008-12-16 20:36:44 +01:00
2008-10-20 08:52:41 -07:00
2009-02-26 06:40:06 +01:00
2009-02-17 17:52:44 +01:00
2009-01-31 04:21:18 +01:00
2008-10-22 22:55:23 -07:00
2009-02-23 00:08:11 +01:00
2009-02-17 17:52:44 +01:00
2008-10-16 16:53:13 +02:00
2009-02-17 17:52:44 +01:00
2009-02-26 06:40:06 +01:00