Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251351
b: refs/heads/master
c: 60116a7
h: refs/heads/master
i:
  251349: d695cda
  251347: c69255b
  251343: f5bf6f7
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed May 24, 2011
1 parent 803c2c2 commit 78ce020
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: 34154f355904c837402aab61ef17b78f972a10b5
refs/heads/master: 60116a73780fcf7dc01950467d75229926dc73dc
9 changes: 5 additions & 4 deletions trunk/arch/arm/mach-shmobile/smp-sh73a0.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ unsigned int __init sh73a0_get_core_count(void)
{
void __iomem *scu_base = scu_base_addr();

#ifdef CONFIG_HAVE_ARM_TWD
/* twd_base needs to be initialized before percpu_timer_setup() */
twd_base = (void __iomem *)0xf0000600;
#endif

return scu_get_core_count(scu_base);
}

Expand All @@ -82,10 +87,6 @@ int __cpuinit sh73a0_boot_secondary(unsigned int cpu)

void __init sh73a0_smp_prepare_cpus(void)
{
#ifdef CONFIG_HAVE_ARM_TWD
twd_base = (void __iomem *)0xf0000600;
#endif

scu_enable(scu_base_addr());

/* Map the reset vector (in headsmp.S) */
Expand Down

0 comments on commit 78ce020

Please sign in to comment.