From: Thomas Gleixner Date: Thu, 12 Feb 2009 20:30:48 +0000 (+0100) Subject: x86: warn if arch_flush_lazy_mmu_cpu is called in preemptible context X-Git-Tag: v2.6.29-rc6~74^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b0900d323122113683685b200aae9f9b75e63b;p=pandora-kernel.git x86: warn if arch_flush_lazy_mmu_cpu is called in preemptible context 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 --- Reading git-diff-tree failed