android_kernel_xiaomi_sm8350/arch/x86/mm
Jeremy Fitzhardinge a7bf0bd5e6 build: add __page_aligned_data and __page_aligned_bss
Making a variable page-aligned by using
__attribute__((section(".data.page_aligned"))) is fragile because if
sizeof(variable) is not also a multiple of page size, it leaves
variables in the remainder of the section unaligned.

This patch introduces two new qualifiers, __page_aligned_data and
__page_aligned_bss to set the section *and* the alignment of
variables.  This makes page-aligned variables more robust because the
linker will make sure they're aligned properly.  Unfortunately it
requires *all* page-aligned data to use these macros...

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-08 12:48:13 +02:00
..
discontig_32.c Merge branch 'x86/mpparse' into x86/devel 2008-07-08 11:14:58 +02:00
dump_pagetables.c x86_64: use PAGE_OFFSET in dump_pagetables 2008-07-08 08:12:06 +02:00
extable.c
fault.c Merge branches 'x86/mmio', 'x86/delay', 'x86/idle', 'x86/oprofile', 'x86/debug', 'x86/ptrace' and 'x86/amd-iommu' into x86/devel 2008-07-08 09:46:15 +02:00
highmem_32.c x86: unexport kmap_atomic_to_page 2008-04-30 23:15:34 +02:00
hugetlbpage.c x86: stricter check in follow_huge_addr() 2008-03-27 16:08:45 +01:00
init_32.c Merge branch 'x86/mpparse' into x86/devel 2008-07-08 11:14:58 +02:00
init_64.c Merge branch 'x86/fixmap' into x86/devel 2008-07-08 12:24:29 +02:00
ioremap.c build: add __page_aligned_data and __page_aligned_bss 2008-07-08 12:48:13 +02:00
k8topology_64.c Merge branch 'x86/mpparse' into x86/devel 2008-07-08 11:14:58 +02:00
Makefile x86: add common mm/pgtable.c 2008-04-24 23:57:30 +02:00
mmap.c
numa_64.c Merge branch 'x86/numa' into x86/devel 2008-07-08 11:59:23 +02:00
pageattr-test.c
pageattr.c Merge branches 'x86/numa-fixes', 'x86/apic', 'x86/apm', 'x86/bitops', 'x86/build', 'x86/cleanups', 'x86/cpa', 'x86/cpu', 'x86/defconfig', 'x86/gart', 'x86/i8259', 'x86/intel', 'x86/irqstats', 'x86/kconfig', 'x86/ldt', 'x86/mce', 'x86/memtest', 'x86/pat', 'x86/ptemask', 'x86/resumetrace', 'x86/threadinfo', 'x86/timers', 'x86/vdso' and 'x86/xen' into x86/devel 2008-07-08 09:16:56 +02:00
pat.c x86: pat.c final cleanup of loop body in reserve_memtype 2008-06-24 13:05:59 +02:00
pgtable_32.c x86: implement set_pte_vaddr 2008-06-20 15:09:54 +02:00
pgtable.c Merge branch 'x86/fixmap' into x86/devel 2008-07-08 12:24:29 +02:00
srat_64.c Merge branch 'x86/numa' into x86/devel 2008-07-08 11:59:23 +02:00