From: Richard Kuo Date: Tue, 9 Apr 2013 00:03:05 +0000 (-0500) Subject: Hexagon: use correct translation for VMALLOC_START X-Git-Tag: upstream/snapshot3+hdmi~5144^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c883b462aa5ecde3da6cabdca00f6abac22aa74;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Hexagon: use correct translation for VMALLOC_START Signed-off-by: Richard Kuo --- diff --git a/arch/hexagon/include/asm/mem-layout.h b/arch/hexagon/include/asm/mem-layout.h index 2cb7a70..60556f8 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