commit | 34b0900d323122113683685b200aae9f9b75e63b | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Thu Feb 12 21:30:48 2009 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu Feb 12 23:11:58 2009 +0100 |
tree | a7ebd50755ae7321e89a4e5a0b64e4a5a7de0dc4 | |
parent | d85cf93da66977dbc645352be1b2084a659d8a0b [diff] |
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 <tglx@linutronix.de>