x86: warn if arch_flush_lazy_mmu_cpu is called in preemptible context
authorThomas Gleixner <tglx@linutronix.de>
Thu, 12 Feb 2009 20:30:48 +0000 (21:30 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 12 Feb 2009 22:11:58 +0000 (23:11 +0100)
Impact: Catch cases where lazy MMU state is active in a preemtible context

arch_flush_lazy_mmu_cpu() has been changed to disable preemption so
the checks in enter/leave will never trigger. Put the preemtible()
check into arch_flush_lazy_mmu_cpu() to catch such cases.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found