This patch cleans up pagetable_init by - pulling the setting of %cr4 out of the loops, only set them once. - improve readability of the loops. - change PAGE_KERNEL and friends to variables to avoid checking cpu_has_pge all the time. All pageing modes (PAE/PSE) have been tested. -- Brian Gerst