summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos4/platsmp.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-10-04 15:20:21 +0400
committerKukjin Kim <kgene.kim@samsung.com>2011-10-04 15:20:21 +0400
commita1a9107deff9b9e5c615058834b74717fa87d49c (patch)
tree70686e34b8676a812a5cc63059e4ae8343ee1df1 /arch/arm/mach-exynos4/platsmp.c
parent86f82da586098f16d92b5637808c323f5455e935 (diff)
parent31451afd2480caf3ae15da56cf9fc3cb3fb821cb (diff)
downloadlinux-a1a9107deff9b9e5c615058834b74717fa87d49c.tar.xz
Merge branch 'next-samsung-board-2' into next-samsung-devel-2
Diffstat (limited to 'arch/arm/mach-exynos4/platsmp.c')
-rw-r--r--arch/arm/mach-exynos4/platsmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos4/platsmp.c b/arch/arm/mach-exynos4/platsmp.c
index a3346e36d0ae..d5f0f299ba0d 100644
--- a/arch/arm/mach-exynos4/platsmp.c
+++ b/arch/arm/mach-exynos4/platsmp.c
@@ -32,6 +32,7 @@
#include <plat/cpu.h>
+extern unsigned int gic_bank_offset;
extern void exynos4_secondary_startup(void);
#define CPU1_BOOT_REG (samsung_rev() == EXYNOS4210_REV_1_1 ? \
@@ -67,9 +68,9 @@ static DEFINE_SPINLOCK(boot_lock);
static void __cpuinit exynos4_gic_secondary_init(void)
{
void __iomem *dist_base = S5P_VA_GIC_DIST +
- (EXYNOS4_GIC_BANK_OFFSET * smp_processor_id());
+ (gic_bank_offset * smp_processor_id());
void __iomem *cpu_base = S5P_VA_GIC_CPU +
- (EXYNOS4_GIC_BANK_OFFSET * smp_processor_id());
+ (gic_bank_offset * smp_processor_id());
int i;
/*