diff options
author | Richard Weinberger <richard@nod.at> | 2015-03-18 16:59:35 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-13 15:01:02 -0400 |
commit | a98a6d864d3b84219a6ec6213b00c260fb52f9f4 (patch) | |
tree | ea56c345b3547a6701ad23cba78e285569af5a88 /arch/um/include/asm | |
parent | 28fa468f53163bc0b867b4cc75a9e36e7ed4dbbd (diff) |
um: Remove broken highmem support
Highmem was always buggy and experimental on UML(i386).
In times where 64 bit computers are default we can
remove that experimental code.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/asm')
-rw-r--r-- | arch/um/include/asm/fixmap.h | 4 | ||||
-rw-r--r-- | arch/um/include/asm/pgtable.h | 6 |
2 files changed, 1 insertions, 9 deletions
diff --git a/arch/um/include/asm/fixmap.h b/arch/um/include/asm/fixmap.h index 3094ea3c73b0..1761fd75bf13 100644 --- a/arch/um/include/asm/fixmap.h +++ b/arch/um/include/asm/fixmap.h | |||
@@ -33,10 +33,6 @@ | |||
33 | * fix-mapped? | 33 | * fix-mapped? |
34 | */ | 34 | */ |
35 | enum fixed_addresses { | 35 | enum fixed_addresses { |
36 | #ifdef CONFIG_HIGHMEM | ||
37 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ | ||
38 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, | ||
39 | #endif | ||
40 | __end_of_fixed_addresses | 36 | __end_of_fixed_addresses |
41 | }; | 37 | }; |
42 | 38 | ||
diff --git a/arch/um/include/asm/pgtable.h b/arch/um/include/asm/pgtable.h index 2324b624f195..18eb9924dda3 100644 --- a/arch/um/include/asm/pgtable.h +++ b/arch/um/include/asm/pgtable.h | |||
@@ -47,11 +47,7 @@ extern unsigned long end_iomem; | |||
47 | #define VMALLOC_OFFSET (__va_space) | 47 | #define VMALLOC_OFFSET (__va_space) |
48 | #define VMALLOC_START ((end_iomem + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1)) | 48 | #define VMALLOC_START ((end_iomem + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1)) |
49 | #define PKMAP_BASE ((FIXADDR_START - LAST_PKMAP * PAGE_SIZE) & PMD_MASK) | 49 | #define PKMAP_BASE ((FIXADDR_START - LAST_PKMAP * PAGE_SIZE) & PMD_MASK) |
50 | #ifdef CONFIG_HIGHMEM | 50 | #define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE) |
51 | # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE) | ||
52 | #else | ||
53 | # define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE) | ||
54 | #endif | ||
55 | #define MODULES_VADDR VMALLOC_START | 51 | #define MODULES_VADDR VMALLOC_START |
56 | #define MODULES_END VMALLOC_END | 52 | #define MODULES_END VMALLOC_END |
57 | #define MODULES_LEN (MODULES_VADDR - MODULES_END) | 53 | #define MODULES_LEN (MODULES_VADDR - MODULES_END) |