android_kernel_xiaomi_sm7250/arch/x86/mm
Andi Kleen 895bdc2995 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 <ak@suse.de>
Acked-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:52 +01:00
..
discontig_32.c x86: make NUMA work on 32-bit 2008-01-30 13:33:25 +01:00
extable.c x86: unify extable_{32|64}.c 2008-01-30 13:31:41 +01:00
fault_32.c x86: return the page table level in lookup_address() 2008-01-30 13:33:43 +01:00
fault_64.c x86: update reliability argument to printk_address 2008-01-30 13:33:24 +01:00
highmem_32.c x86: kmap_atomic() debugging 2008-01-30 13:30:47 +01:00
hugetlbpage.c x86: demacro asm-x86/pgalloc_32.h 2008-01-30 13:33:39 +01:00
init_32.c x86: shrink __PAGE_KERNEL/__PAGE_KERNEL_EXEC on non PAE kernels 2008-01-30 13:33:50 +01:00
init_64.c c_p_a(): do a simple self test at boot 2008-01-30 13:33:42 +01:00
ioremap_32.c x86: early_ioremap_init(), enhance warnings 2008-01-30 13:33:49 +01:00
ioremap_64.c x86: set strong uncacheable where UC is really desired 2008-01-30 13:33:43 +01:00
k8topology_64.c x86: clean up k8topology.c 2008-01-30 13:32:36 +01:00
Makefile x86_64: move mm 2007-10-11 11:17:18 +02:00
Makefile_32 x86: replace boot_ioremap() with enhanced bt_ioremap() - remove boot_ioremap() 2008-01-30 13:33:44 +01:00
Makefile_64 x86: c_p_a(), add simple self test at boot 2008-01-30 13:33:43 +01:00
mmap.c x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
numa_64.c x86: early cpu_to_node fix in numa_64.c 2008-01-30 13:33:33 +01:00
pageattr_32.c x86: c_p_a() make it more robust against use of PAT bits 2008-01-30 13:33:52 +01:00
pageattr_64.c x86: c_p_a() make it more robust against use of PAT bits 2008-01-30 13:33:52 +01:00
pageattr-test.c x86: fix c_p_a() boot crash 2008-01-30 13:33:52 +01:00
pgtable_32.c x86: allocate and initialize unshared pmds 2008-01-30 13:33:40 +01:00
srat_64.c x86: fix section mismatch warning in srat_64.c 2008-01-30 13:33:37 +01:00