diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-07 10:43:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-07 10:43:04 -0400 |
commit | a56e74f546b64be93731e42d83baf5b538cc1b11 (patch) | |
tree | 18f6dee45d801e57ac9db2a31664b0d5c0762c50 /arch/tile/include/asm | |
parent | d08e2e09042bd3f7ef66a35cb4bb92794ab26bb2 (diff) | |
parent | e4e7f10bfc4069925e99cc4b428c3434e30b6c3f (diff) |
Merge branch 'arm-aesbs' of git://git.linaro.org/people/ardbiesheuvel/linux-arm into devel-stable
Diffstat (limited to 'arch/tile/include/asm')
-rw-r--r-- | arch/tile/include/asm/page.h | 5 | ||||
-rw-r--r-- | arch/tile/include/asm/pgtable_32.h | 12 | ||||
-rw-r--r-- | arch/tile/include/asm/pgtable_64.h | 4 |
3 files changed, 5 insertions, 16 deletions
diff --git a/arch/tile/include/asm/page.h b/arch/tile/include/asm/page.h index 6346888f7bdc..672768008618 100644 --- a/arch/tile/include/asm/page.h +++ b/arch/tile/include/asm/page.h | |||
@@ -182,10 +182,9 @@ static inline __attribute_const__ int get_order(unsigned long size) | |||
182 | 182 | ||
183 | #define PAGE_OFFSET (-(_AC(1, UL) << (MAX_VA_WIDTH - 1))) | 183 | #define PAGE_OFFSET (-(_AC(1, UL) << (MAX_VA_WIDTH - 1))) |
184 | #define KERNEL_HIGH_VADDR _AC(0xfffffff800000000, UL) /* high 32GB */ | 184 | #define KERNEL_HIGH_VADDR _AC(0xfffffff800000000, UL) /* high 32GB */ |
185 | #define FIXADDR_BASE (KERNEL_HIGH_VADDR - 0x400000000) /* 4 GB */ | 185 | #define FIXADDR_BASE (KERNEL_HIGH_VADDR - 0x300000000) /* 4 GB */ |
186 | #define FIXADDR_TOP (KERNEL_HIGH_VADDR - 0x300000000) /* 4 GB */ | 186 | #define FIXADDR_TOP (KERNEL_HIGH_VADDR - 0x200000000) /* 4 GB */ |
187 | #define _VMALLOC_START FIXADDR_TOP | 187 | #define _VMALLOC_START FIXADDR_TOP |
188 | #define HUGE_VMAP_BASE (KERNEL_HIGH_VADDR - 0x200000000) /* 4 GB */ | ||
189 | #define MEM_SV_START (KERNEL_HIGH_VADDR - 0x100000000) /* 256 MB */ | 188 | #define MEM_SV_START (KERNEL_HIGH_VADDR - 0x100000000) /* 256 MB */ |
190 | #define MEM_MODULE_START (MEM_SV_START + (256*1024*1024)) /* 256 MB */ | 189 | #define MEM_MODULE_START (MEM_SV_START + (256*1024*1024)) /* 256 MB */ |
191 | #define MEM_MODULE_END (MEM_MODULE_START + (256*1024*1024)) | 190 | #define MEM_MODULE_END (MEM_MODULE_START + (256*1024*1024)) |
diff --git a/arch/tile/include/asm/pgtable_32.h b/arch/tile/include/asm/pgtable_32.h index 63142ab3b3dd..d26a42279036 100644 --- a/arch/tile/include/asm/pgtable_32.h +++ b/arch/tile/include/asm/pgtable_32.h | |||
@@ -55,17 +55,9 @@ | |||
55 | #define PKMAP_BASE ((FIXADDR_BOOT_START - PAGE_SIZE*LAST_PKMAP) & PGDIR_MASK) | 55 | #define PKMAP_BASE ((FIXADDR_BOOT_START - PAGE_SIZE*LAST_PKMAP) & PGDIR_MASK) |
56 | 56 | ||
57 | #ifdef CONFIG_HIGHMEM | 57 | #ifdef CONFIG_HIGHMEM |
58 | # define __VMAPPING_END (PKMAP_BASE & ~(HPAGE_SIZE-1)) | 58 | # define _VMALLOC_END (PKMAP_BASE & ~(HPAGE_SIZE-1)) |
59 | #else | 59 | #else |
60 | # define __VMAPPING_END (FIXADDR_START & ~(HPAGE_SIZE-1)) | 60 | # define _VMALLOC_END (FIXADDR_START & ~(HPAGE_SIZE-1)) |
61 | #endif | ||
62 | |||
63 | #ifdef CONFIG_HUGEVMAP | ||
64 | #define HUGE_VMAP_END __VMAPPING_END | ||
65 | #define HUGE_VMAP_BASE (HUGE_VMAP_END - CONFIG_NR_HUGE_VMAPS * HPAGE_SIZE) | ||
66 | #define _VMALLOC_END HUGE_VMAP_BASE | ||
67 | #else | ||
68 | #define _VMALLOC_END __VMAPPING_END | ||
69 | #endif | 61 | #endif |
70 | 62 | ||
71 | /* | 63 | /* |
diff --git a/arch/tile/include/asm/pgtable_64.h b/arch/tile/include/asm/pgtable_64.h index 3421177f7370..2c8a9cd102d3 100644 --- a/arch/tile/include/asm/pgtable_64.h +++ b/arch/tile/include/asm/pgtable_64.h | |||
@@ -52,12 +52,10 @@ | |||
52 | * memory allocation code). The vmalloc code puts in an internal | 52 | * memory allocation code). The vmalloc code puts in an internal |
53 | * guard page between each allocation. | 53 | * guard page between each allocation. |
54 | */ | 54 | */ |
55 | #define _VMALLOC_END HUGE_VMAP_BASE | 55 | #define _VMALLOC_END MEM_SV_START |
56 | #define VMALLOC_END _VMALLOC_END | 56 | #define VMALLOC_END _VMALLOC_END |
57 | #define VMALLOC_START _VMALLOC_START | 57 | #define VMALLOC_START _VMALLOC_START |
58 | 58 | ||
59 | #define HUGE_VMAP_END (HUGE_VMAP_BASE + PGDIR_SIZE) | ||
60 | |||
61 | #ifndef __ASSEMBLY__ | 59 | #ifndef __ASSEMBLY__ |
62 | 60 | ||
63 | /* We have no pud since we are a three-level page table. */ | 61 | /* We have no pud since we are a three-level page table. */ |