Skip to content

Commit

Permalink
ARM: mach-prima2: don't define SIRFSOC_VA in terms of VMALLOC_END
Browse files Browse the repository at this point in the history
... since it is going to change.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Barry Song <baohua.song@csr.com>
  • Loading branch information
Nicolas Pitre authored and Nicolas Pitre committed Nov 16, 2011
1 parent 1a4c1c9 commit 8da54a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/arm/mach-prima2/include/mach/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
#ifndef __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

0 comments on commit 8da54a0

Please sign in to comment.