From: Nicolas Pitre Date: Wed, 14 Sep 2011 19:14:19 +0000 (-0400) Subject: ARM: mach-prima2: don't define SIRFSOC_VA in terms of VMALLOC_END X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8da54a0b47a0c3f2cbb31e92472d5d3887b620b8;p=linux-beck.git ARM: mach-prima2: don't define SIRFSOC_VA in terms of VMALLOC_END ... since it is going to change. Signed-off-by: Nicolas Pitre Tested-by: Barry Song --- diff --git a/arch/arm/mach-prima2/include/mach/map.h b/arch/arm/mach-prima2/include/mach/map.h index 66b1ae2e553f..6f243532570c 100644 --- a/arch/arm/mach-prima2/include/mach/map.h +++ b/arch/arm/mach-prima2/include/mach/map.h @@ -9,8 +9,10 @@ #ifndef __MACH_PRIMA2_MAP_H__ #define __MACH_PRIMA2_MAP_H__ -#include +#include -#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