x86: PAE swapper_pg_dir needs to be page-sized

From: Jeremy Fitzhardinge
Date: Thu Jan 31 2008 - 17:56:18 EST


Xen currently needs swapper_pg_dir page aligned and sized. This fixes
the second part of that...

Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
---
arch/x86/kernel/head_32.S | 1 +
1 file changed, 1 insertion(+)

===================================================================
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -640,6 +640,7 @@
# else
# error "Kernel PMDs should be 1, 2 or 3"
# endif
+ .align PAGE_SIZE_asm /* needs to be page-sized too */
#endif

.data


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/