summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorCliff Wickman <cpw@sgi.com>2009-03-07 00:30:56 +0100
committerIngo Molnar <mingo@elte.hu>2009-03-08 11:17:15 +0100
commit3a450de1365d20afde406f0d9b2931a5e4a4fd6a (patch)
tree3631a02fc90e6fbf098182b99d1d7eb7870f74ba /block
parentpercpu: finer grained locking to break deadlock and allow atomic free (diff)
downloadlinux-3a450de1365d20afde406f0d9b2931a5e4a4fd6a.tar.xz
linux-3a450de1365d20afde406f0d9b2931a5e4a4fd6a.zip
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions