Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191777
b: refs/heads/master
c: 817412d
h: refs/heads/master
i:
  191775: 8b1b4c8
v: v3
  • Loading branch information
Rabin Vincent authored and Russell King committed May 4, 2010
1 parent ccf7bda commit 0c271fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 41ac329f607add059ae8b063375c5d9d6e7471cf
refs/heads/master: 817412d3a1391d4667494f16cd49455c62453c78
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-ux500/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.endm

.macro get_irqnr_preamble, base, tmp
ldr \base, =IO_ADDRESS(U8500_GIC_CPU_BASE)
ldr \base, =IO_ADDRESS(UX500_GIC_CPU_BASE)
.endm

.macro arch_ret_to_user, tmp1, tmp2
Expand Down
10 changes: 5 additions & 5 deletions trunk/arch/arm/mach-ux500/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ volatile int __cpuinitdata pen_release = -1;

static unsigned int __init get_core_count(void)
{
return scu_get_core_count(__io_address(U8500_SCU_BASE));
return scu_get_core_count(__io_address(UX500_SCU_BASE));
}

static DEFINE_SPINLOCK(boot_lock);
Expand All @@ -44,7 +44,7 @@ void __cpuinit platform_secondary_init(unsigned int cpu)
* core (e.g. timer irq), then they will not have been enabled
* for us: do so
*/
gic_cpu_init(0, __io_address(U8500_GIC_CPU_BASE));
gic_cpu_init(0, __io_address(UX500_GIC_CPU_BASE));

/*
* let the primary processor know we're out of the
Expand Down Expand Up @@ -106,12 +106,12 @@ static void __init wakeup_secondary(void)
*/
#define U8500_CPU1_JUMPADDR_OFFSET 0x1FF4
__raw_writel(virt_to_phys(u8500_secondary_startup),
(void __iomem *)IO_ADDRESS(U8500_BACKUPRAM0_BASE) +
__io_address(UX500_BACKUPRAM0_BASE) +
U8500_CPU1_JUMPADDR_OFFSET);

#define U8500_CPU1_WAKEMAGIC_OFFSET 0x1FF0
__raw_writel(0xA1FEED01,
(void __iomem *)IO_ADDRESS(U8500_BACKUPRAM0_BASE) +
__io_address(UX500_BACKUPRAM0_BASE) +
U8500_CPU1_WAKEMAGIC_OFFSET);

/* make sure write buffer is drained */
Expand Down Expand Up @@ -172,7 +172,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
* boot CPU, but only if we have more than one CPU.
*/
percpu_timer_setup();
scu_enable(__io_address(U8500_SCU_BASE));
scu_enable(__io_address(UX500_SCU_BASE));
wakeup_secondary();
}
}

0 comments on commit 0c271fe

Please sign in to comment.