x86: cpa, fix lookup_address
commit9a14aefc1d28c6037122965ee8c10d92a970ade0
authorThomas Gleixner <tglx@linutronix.de>
Mon, 4 Feb 2008 15:48:07 +0000 (4 16:48 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Feb 2008 15:48:07 +0000 (4 16:48 +0100)
tree8f1342c4f18d075009abc9e4f05a6d4e4ba97640
parent34508f66b69ff1708192654f631eb8f1d4c52005
x86: cpa, fix lookup_address

lookup_address() returns a wrong level and a wrong pointer to a non
existing pte, when pmd or pud entries are marked !present. This
happens for example due to boot time mapping of GART into the low
memory space.

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