Skip to content

Commit

Permalink
Hexagon: use correct translation for VMALLOC_START
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
  • Loading branch information
Richard Kuo committed May 1, 2013
1 parent 5e11505 commit 5c883b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/hexagon/include/asm/mem-layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c883b4

Please sign in to comment.