Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296658
b: refs/heads/master
c: e9bba61
h: refs/heads/master
v: v3
  • Loading branch information
Kukjin Kim committed Mar 14, 2012
1 parent ca7b999 commit 4892da0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 330c90a54c82596dfe355163c4d888e51a0fe65b
refs/heads/master: e9bba61522a7650b0e4d9952bb3ece81d473a52c
9 changes: 6 additions & 3 deletions trunk/arch/arm/mach-exynos/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ void __init smp_init_cpus(void)
void __iomem *scu_base = scu_base_addr();
unsigned int i, ncores;

ncores = scu_base ? scu_get_core_count(scu_base) : 1;
if (soc_is_exynos5250())
ncores = 2;
else
ncores = scu_base ? scu_get_core_count(scu_base) : 1;

/* sanity check */
if (ncores > nr_cpu_ids) {
Expand All @@ -183,8 +186,8 @@ void __init smp_init_cpus(void)

void __init platform_smp_prepare_cpus(unsigned int max_cpus)
{

scu_enable(scu_base_addr());
if (!soc_is_exynos5250())
scu_enable(scu_base_addr());

/*
* Write the address of secondary startup into the
Expand Down

0 comments on commit 4892da0

Please sign in to comment.