]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/avr32/mm/init.c
avr32: Store virtual addresses in the PGD
[linux-2.6-omap-h63xx.git] / arch / avr32 / mm / init.c
index 0e77578c358de8718b6929efe28c16e5e1fe68cd..3f90a87527bb27fe6ce997c0881a1ecfcbbdcc87 100644 (file)
 #include <asm/setup.h>
 #include <asm/sections.h>
 
+#define __page_aligned __attribute__((section(".data.page_aligned")))
+
 DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
 
-pgd_t swapper_pg_dir[PTRS_PER_PGD];
+pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned;
 
 struct page *empty_zero_page;
 EXPORT_SYMBOL(empty_zero_page);