diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-09-19 00:28:45 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-11-26 19:21:30 -0500 |
commit | 0af362f8440a78b970d5f215e234420fa87d0f3f (patch) | |
tree | 39a94f2b99fda3b461d33b21fc2934ed54a8645c /arch/arm/include | |
parent | d0e6b2236a26711939bfcdd97370fedcd526a191 (diff) |
ARM: move VMALLOC_END down temporarily for shmobile
THIS IS A TEMPORARY HACK. The purpose of this is _only_ to avoid a
regression on an existing machine while a better fix is implemented.
On shmobile the consistent DMA memory area was set to 158MB in commit
28f0721a79 with no explanation. The documented size for this area should
vary between 2MB and 14MB, and none of the other ARM targets exceed that.
The included #warning is therefore meant to be noisy on purpose to get
shmobile maintainers attention and this commit reverted once this
consistent DMA size conflict is resolved.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: Magnus Damm <damm@opensource.se>
Cc: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/pgtable.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h index 6cdd55cb0b8c..bcae9b81a6d0 100644 --- a/arch/arm/include/asm/pgtable.h +++ b/arch/arm/include/asm/pgtable.h | |||
@@ -37,6 +37,13 @@ | |||
37 | #define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1)) | 37 | #define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1)) |
38 | #define VMALLOC_END 0xff000000UL | 38 | #define VMALLOC_END 0xff000000UL |
39 | 39 | ||
40 | /* This is a temporary hack until shmobile's DMA area size is sorted out */ | ||
41 | #ifdef CONFIG_ARCH_SHMOBILE | ||
42 | #warning "SH-Mobile's consistent DMA size conflicts with VMALLOC_END by 144MB" | ||
43 | #undef VMALLOC_END | ||
44 | #define VMALLOC_END 0xF6000000UL | ||
45 | #endif | ||
46 | |||
40 | #define LIBRARY_TEXT_START 0x0c000000 | 47 | #define LIBRARY_TEXT_START 0x0c000000 |
41 | 48 | ||
42 | #ifndef __ASSEMBLY__ | 49 | #ifndef __ASSEMBLY__ |