]> err.no Git - linux-2.6/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)
commit7bfb72e847c201fe32271fb13f75d060671d8890
treec00cf13f19c508548819c249c068d043d692213a
parent6ce9fc17d913ae51f8434d2826f306347820b07d
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