From: Andi Kleen Date: Wed, 30 Jan 2008 12:33:52 +0000 (+0100) Subject: x86: c_p_a() make it more robust against use of PAT bits X-Git-Tag: v2.6.25-rc1~1143^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=895bdc29956e5c9e9e101b2b1c2f0ed34130f945;p=pandora-kernel.git x86: c_p_a() make it more robust against use of PAT bits Use the page table level instead of the PSE bit to check if the PTE is for a 4K page or not. This makes the code more robust when the PAT bit is changed because the PAT bit on 4K pages is in the same position as the PSE bit. Signed-off-by: Andi Kleen Acked-by: Jan Beulich Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed