Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Hexagon: use correct translation for VMALLOC_START



Signed-off-by: default avatarRichard Kuo <rkuo@codeaurora.org>
parent 5e115054
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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