summaryrefslogtreecommitdiffstats
path: root/arch/hexagon
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2013-04-09 02:03:05 +0200
committerRichard Kuo <rkuo@codeaurora.org>2013-05-01 02:40:29 +0200
commit5c883b462aa5ecde3da6cabdca00f6abac22aa74 (patch)
treec8bc20425c165b42ab5df0ab063c8aa2511e3ba9 /arch/hexagon
parentHexagon: use correct translations for DMA mappings (diff)
downloadlinux-5c883b462aa5ecde3da6cabdca00f6abac22aa74.tar.xz
linux-5c883b462aa5ecde3da6cabdca00f6abac22aa74.zip
Hexagon: use correct translation for VMALLOC_START
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon')
-rw-r--r--arch/hexagon/include/asm/mem-layout.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/hexagon/include/asm/mem-layout.h b/arch/hexagon/include/asm/mem-layout.h
index 2cb7a706208f..60556f8c45d8 100644
--- a/arch/hexagon/include/asm/mem-layout.h
+++ b/arch/hexagon/include/asm/mem-layout.h
@@ -72,8 +72,7 @@ extern int max_kernel_seg;
* supposed to be based on the amount of physical memory available
*/
-#define VMALLOC_START (PAGE_OFFSET + VMALLOC_OFFSET + \
- (unsigned long)high_memory)
+#define VMALLOC_START ((unsigned long) __va(high_memory + VMALLOC_OFFSET))
/* Gap between physical ram and vmalloc space for guard purposes. */
#define VMALLOC_OFFSET PAGE_SIZE