Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11465
b: refs/heads/master
c: f6ab9c6
h: refs/heads/master
i:
  11463: 0f0b353
v: v3
  • Loading branch information
Michael Ellerman authored and Stephen Rothwell committed Sep 23, 2005
1 parent 09169bb commit 263cf5b
Show file tree
Hide file tree
Showing 3 changed files with 9 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: 7c6f947f2477f7c0017be1af458eb5e0b96b7f40
refs/heads/master: f6ab9c68406dfcd1fcd0a5352244fcb932b113b1
6 changes: 4 additions & 2 deletions trunk/arch/ppc64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -1970,20 +1970,22 @@ _GLOBAL(hmt_start_secondary)
blr
#endif

#if defined(CONFIG_KEXEC) || (defined(CONFIG_SMP) && !defined(CONFIG_PPC_ISERIES))
#if defined(CONFIG_KEXEC) || defined(CONFIG_SMP)
_GLOBAL(smp_release_cpus)
/* All secondary cpus are spinning on a common
* spinloop, release them all now so they can start
* to spin on their individual paca spinloops.
* For non SMP kernels, the secondary cpus never
* get out of the common spinloop.
* XXX This does nothing useful on iSeries, secondaries are
* already waiting on their paca.
*/
li r3,1
LOADADDR(r5,__secondary_hold_spinloop)
std r3,0(r5)
sync
blr
#endif /* CONFIG_SMP && !CONFIG_PPC_ISERIES */
#endif /* CONFIG_SMP */


/*
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/ppc64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ struct screen_info screen_info = {
.orig_video_points = 16
};

#if defined(CONFIG_PPC_MULTIPLATFORM) && defined(CONFIG_SMP)
#ifdef CONFIG_SMP

static int smt_enabled_cmdline;

Expand Down Expand Up @@ -307,7 +307,7 @@ static void __init setup_cpu_maps(void)

systemcfg->processorCount = num_present_cpus();
}
#endif /* defined(CONFIG_PPC_MULTIPLATFORM) && defined(CONFIG_SMP) */
#endif /* CONFIG_SMP */


#ifdef CONFIG_PPC_MULTIPLATFORM
Expand Down Expand Up @@ -611,7 +611,7 @@ void __init setup_system(void)
parse_early_param();
#endif /* !CONFIG_PPC_ISERIES */

#if defined(CONFIG_SMP) && !defined(CONFIG_PPC_ISERIES)
#ifdef CONFIG_SMP
/*
* iSeries has already initialized the cpu maps at this point.
*/
Expand All @@ -621,7 +621,7 @@ void __init setup_system(void)
* we can map physical -> logical CPU ids
*/
smp_release_cpus();
#endif /* defined(CONFIG_SMP) && !defined(CONFIG_PPC_ISERIES) */
#endif

printk("Starting Linux PPC64 %s\n", system_utsname.version);

Expand Down

0 comments on commit 263cf5b

Please sign in to comment.