[PATCH v2 3/3] x86/mm: Separate paging setup from memory mapping

2012-07-15 Thread Pekka Enberg
Move PSE and PGE bit twiddling from init_memory_mapping() to a new setup_paging() function to simplify the former function. The init_memory_mapping() function is called later in the boot process by gart_iommu_init(), efi_ioremap(), and arch_add_memory() which have no business whatsover updating

[PATCH v2 3/3] x86/mm: Separate paging setup from memory mapping

2012-07-15 Thread Pekka Enberg
Move PSE and PGE bit twiddling from init_memory_mapping() to a new setup_paging() function to simplify the former function. The init_memory_mapping() function is called later in the boot process by gart_iommu_init(), efi_ioremap(), and arch_add_memory() which have no business whatsover updating