Commit 5c883b46 authored by Richard Kuo's avatar Richard Kuo

Hexagon: use correct translation for VMALLOC_START

Signed-off-by: default avatarRichard Kuo <rkuo@codeaurora.org>
parent 5e115054
...@@ -72,8 +72,7 @@ extern int max_kernel_seg; ...@@ -72,8 +72,7 @@ extern int max_kernel_seg;
* supposed to be based on the amount of physical memory available * supposed to be based on the amount of physical memory available
*/ */
#define VMALLOC_START (PAGE_OFFSET + VMALLOC_OFFSET + \ #define VMALLOC_START ((unsigned long) __va(high_memory + VMALLOC_OFFSET))
(unsigned long)high_memory)
/* Gap between physical ram and vmalloc space for guard purposes. */ /* Gap between physical ram and vmalloc space for guard purposes. */
#define VMALLOC_OFFSET PAGE_SIZE #define VMALLOC_OFFSET PAGE_SIZE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment