projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e11505
)
Hexagon: use correct translation for VMALLOC_START
author
Richard Kuo
<rkuo@codeaurora.org>
Tue, 9 Apr 2013 00:03:05 +0000
(19:03 -0500)
committer
Richard Kuo
<rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:29 +0000
(19:40 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/asm/mem-layout.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/hexagon/include/asm/mem-layout.h
b/arch/hexagon/include/asm/mem-layout.h
index 2cb7a706208f57e380e3ea385cd2856580c96b0d..60556f8c45d87cc1c5f2cc58af53569910f3abc8 100644
(file)
--- 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