File tree Expand file tree Collapse file tree 3 files changed +0
-31
lines changed Expand file tree Collapse file tree 3 files changed +0
-31
lines changed Original file line number Diff line number Diff line change 13
13
#include <linux/kernel.h>
14
14
#include <linux/threads.h>
15
15
#include <asm/page.h>
16
- #ifdef CONFIG_HIGHMEM
17
- #include <asm/kmap_types.h>
18
- #endif
19
16
20
17
/*
21
18
* Here we define all the compile-time 'special' virtual
@@ -53,11 +50,6 @@ enum fixed_addresses {
53
50
FIX_CMAP_BEGIN ,
54
51
FIX_CMAP_END = FIX_CMAP_BEGIN + (FIX_N_COLOURS * NR_CPUS ) - 1 ,
55
52
56
- #ifdef CONFIG_HIGHMEM
57
- FIX_KMAP_BEGIN , /* reserved pte's for temporary kernel mappings */
58
- FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS ) - 1 ,
59
- #endif
60
-
61
53
#ifdef CONFIG_IOREMAP_FIXED
62
54
/*
63
55
* FIX_IOREMAP entries are useful for mapping physical address
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -362,9 +362,6 @@ void __init mem_init(void)
362
362
mem_init_print_info (NULL );
363
363
pr_info ("virtual kernel memory layout:\n"
364
364
" fixmap : 0x%08lx - 0x%08lx (%4ld kB)\n"
365
- #ifdef CONFIG_HIGHMEM
366
- " pkmap : 0x%08lx - 0x%08lx (%4ld kB)\n"
367
- #endif
368
365
" vmalloc : 0x%08lx - 0x%08lx (%4ld MB)\n"
369
366
" lowmem : 0x%08lx - 0x%08lx (%4ld MB) (cached)\n"
370
367
#ifdef CONFIG_UNCACHED_MAPPING
@@ -376,11 +373,6 @@ void __init mem_init(void)
376
373
FIXADDR_START , FIXADDR_TOP ,
377
374
(FIXADDR_TOP - FIXADDR_START ) >> 10 ,
378
375
379
- #ifdef CONFIG_HIGHMEM
380
- PKMAP_BASE , PKMAP_BASE + LAST_PKMAP * PAGE_SIZE ,
381
- (LAST_PKMAP * PAGE_SIZE ) >> 10 ,
382
- #endif
383
-
384
376
(unsigned long )VMALLOC_START , VMALLOC_END ,
385
377
(VMALLOC_END - VMALLOC_START ) >> 20 ,
386
378
You can’t perform that action at this time.
0 commit comments