Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370520
b: refs/heads/master
c: 0ae56a9
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Simon Horman committed Mar 12, 2013
1 parent 7bcecb3 commit c4081f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: f313ae4e98f2c0825a5a808e4b822214836b5085
refs/heads/master: 0ae56a951de0efbf36a51de5b2e91db10425c771
9 changes: 1 addition & 8 deletions trunk/arch/arm/mach-shmobile/smp-r8a7779.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ static void modify_scu_cpu_psr(unsigned long set, unsigned long clr)
__raw_writel(tmp, scu_base + 8);
}

static unsigned int __init r8a7779_get_core_count(void)
{
void __iomem *scu_base = scu_base_addr();

return scu_get_core_count(scu_base);
}

static int r8a7779_platform_cpu_kill(unsigned int cpu)
{
struct r8a7779_pm_ch *ch = NULL;
Expand Down Expand Up @@ -178,7 +171,7 @@ static void __init r8a7779_smp_prepare_cpus(unsigned int max_cpus)

static void __init r8a7779_smp_init_cpus(void)
{
unsigned int ncores = r8a7779_get_core_count();
unsigned int ncores = scu_get_core_count(scu_base_addr());

shmobile_smp_init_cpus(ncores);
}
Expand Down

0 comments on commit c4081f6

Please sign in to comment.