Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370542
b: refs/heads/master
c: abf8813
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Simon Horman committed Mar 12, 2013
1 parent ea592a8 commit d0d8261
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 76853504c35ef5cf488cf6bac4b65677f3bb672e
refs/heads/master: abf88136f73da52162d7e70bd1d8d4294c08bf1e
7 changes: 3 additions & 4 deletions trunk/arch/arm/mach-shmobile/smp-r8a7779.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <asm/smp_twd.h>

#define AVECR IOMEM(0xfe700040)
#define R8A7779_SCU_BASE IOMEM(0xf0000000)
#define R8A7779_SCU_BASE 0xf0000000

static struct r8a7779_pm_ch r8a7779_ch_cpu1 = {
.chan_offs = 0x40, /* PWRSR0 .. PWRER0 */
Expand Down Expand Up @@ -61,8 +61,7 @@ static DEFINE_SPINLOCK(scu_lock);
static unsigned long tmp;

#ifdef CONFIG_HAVE_ARM_TWD
static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, 0xf0000600, 29);

static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, R8A7779_SCU_BASE + 0x600, 29);
void __init r8a7779_register_twd(void)
{
twd_local_timer_register(&twd_local_timer);
Expand Down Expand Up @@ -168,7 +167,7 @@ static void __init r8a7779_smp_prepare_cpus(unsigned int max_cpus)
static void __init r8a7779_smp_init_cpus(void)
{
/* setup r8a7779 specific SCU base */
shmobile_scu_base = R8A7779_SCU_BASE;
shmobile_scu_base = IOMEM(R8A7779_SCU_BASE);

shmobile_smp_init_cpus(scu_get_core_count(shmobile_scu_base));
}
Expand Down

0 comments on commit d0d8261

Please sign in to comment.