Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Hexagon: use correct translation for VMALLOC_START

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>

+1 -2
+1 -2
arch/hexagon/include/asm/mem-layout.h
··· 72 72 * supposed to be based on the amount of physical memory available 73 73 */ 74 74 75 - #define VMALLOC_START (PAGE_OFFSET + VMALLOC_OFFSET + \ 76 - (unsigned long)high_memory) 75 + #define VMALLOC_START ((unsigned long) __va(high_memory + VMALLOC_OFFSET)) 77 76 78 77 /* Gap between physical ram and vmalloc space for guard purposes. */ 79 78 #define VMALLOC_OFFSET PAGE_SIZE