aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_32.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-11-08 14:23:02 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-08 14:23:02 -0500
commit895e031707954a9ca26ed4f5f794575313854ed1 (patch)
treeec7cd5515f346e6f94bc43e63d55ebc8ddf4173d /arch/x86/mm/init_32.c
parent838e8bb71dc0c892bf8f84abd3c709d8fe3a8d3c (diff)
parenta622cf69b806bbb1887913c04e01d0c25b892876 (diff)
Merge branch 'linus' into x86/cleanups
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r--arch/x86/mm/init_32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 7f8a2daa3fde..3ffed259883e 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -336,7 +336,6 @@ int devmem_is_allowed(unsigned long pagenr)
336 return 0; 336 return 0;
337} 337}
338 338
339#ifdef CONFIG_HIGHMEM
340pte_t *kmap_pte; 339pte_t *kmap_pte;
341pgprot_t kmap_prot; 340pgprot_t kmap_prot;
342 341
@@ -359,6 +358,7 @@ static void __init kmap_init(void)
359 kmap_prot = PAGE_KERNEL; 358 kmap_prot = PAGE_KERNEL;
360} 359}
361 360
361#ifdef CONFIG_HIGHMEM
362static void __init permanent_kmaps_init(pgd_t *pgd_base) 362static void __init permanent_kmaps_init(pgd_t *pgd_base)
363{ 363{
364 unsigned long vaddr; 364 unsigned long vaddr;
@@ -438,7 +438,6 @@ static void __init set_highmem_pages_init(void)
438#endif /* !CONFIG_NUMA */ 438#endif /* !CONFIG_NUMA */
439 439
440#else 440#else
441# define kmap_init() do { } while (0)
442# define permanent_kmaps_init(pgd_base) do { } while (0) 441# define permanent_kmaps_init(pgd_base) do { } while (0)
443# define set_highmem_pages_init() do { } while (0) 442# define set_highmem_pages_init() do { } while (0)
444#endif /* CONFIG_HIGHMEM */ 443#endif /* CONFIG_HIGHMEM */