提交 8da54a0b 编写于 作者: N Nicolas Pitre 提交者: Nicolas Pitre

ARM: mach-prima2: don't define SIRFSOC_VA in terms of VMALLOC_END

... since it is going to change.
Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: NBarry Song <baohua.song@csr.com>
上级 1a4c1c96
...@@ -9,8 +9,10 @@ ...@@ -9,8 +9,10 @@
#ifndef __MACH_PRIMA2_MAP_H__ #ifndef __MACH_PRIMA2_MAP_H__
#define __MACH_PRIMA2_MAP_H__ #define __MACH_PRIMA2_MAP_H__
#include <mach/vmalloc.h> #include <linux/const.h>
#define SIRFSOC_VA(x) (VMALLOC_END + ((x) & 0x00FFF000)) #define SIRFSOC_VA_BASE _AC(0xFEC00000, UL)
#define SIRFSOC_VA(x) (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册