]> git.baikalelectronics.ru Git - kernel.git/commit
x86: cpa, fix lookup_address
authorThomas Gleixner <tglx@linutronix.de>
Mon, 4 Feb 2008 15:48:07 +0000 (16:48 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Feb 2008 15:48:07 +0000 (16:48 +0100)
commitb965e6e49c58a932c4c9f03b61598247c8fad110
tree8f1342c4f18d075009abc9e4f05a6d4e4ba97640
parent8a965b7d8bff25e8540441ff96e7f12f1888ce25
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