]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix page-present check in cpa_flush_range
authorThomas Gleixner <tglx@linutronix.de>
Mon, 4 Feb 2008 15:48:08 +0000 (16:48 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Feb 2008 15:48:08 +0000 (16:48 +0100)
commit1b68673c935eaf600523ab17778037b630726ead
treec00cf13f19c508548819c249c068d043d692213a
parent2a2f3bd51425685c23add2e3086826d060a1f3d2
x86: fix page-present check in cpa_flush_range

pte_present() might return true for PROT_NONE mappings.
Explicitely check the present bit.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr.c