diff options
| -rw-r--r-- | arch/hexagon/include/asm/mem-layout.h | 3 |
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; | |||
| 72 | * supposed to be based on the amount of physical memory available | 72 | * supposed to be based on the amount of physical memory available |
| 73 | */ | 73 | */ |
| 74 | 74 | ||
| 75 | #define VMALLOC_START (PAGE_OFFSET + VMALLOC_OFFSET + \ | 75 | #define VMALLOC_START ((unsigned long) __va(high_memory + VMALLOC_OFFSET)) |
| 76 | (unsigned long)high_memory) | ||
| 77 | 76 | ||
| 78 | /* Gap between physical ram and vmalloc space for guard purposes. */ | 77 | /* Gap between physical ram and vmalloc space for guard purposes. */ |
| 79 | #define VMALLOC_OFFSET PAGE_SIZE | 78 | #define VMALLOC_OFFSET PAGE_SIZE |
