Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5627
b: refs/heads/master
c: 75eedfe
h: refs/heads/master
i:
  5625: 16bb1f5
  5623: 8ae642a
v: v3
  • Loading branch information
Olof Johansson authored and Linus Torvalds committed Aug 4, 2005
1 parent 898652b commit ae2547c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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: 556e58febf90c8cb1da25669d0892bf5fd2ddac2
refs/heads/master: 75eedfed3e2d05563f44d2f69efb991fad95d7f1
2 changes: 1 addition & 1 deletion trunk/arch/ppc64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,7 @@ _GLOBAL(hmt_start_secondary)
blr
#endif

#if defined(CONFIG_SMP) && !defined(CONFIG_PPC_ISERIES)
#if defined(CONFIG_KEXEC) || (defined(CONFIG_SMP) && !defined(CONFIG_PPC_ISERIES))
_GLOBAL(smp_release_cpus)
/* All secondary cpus are spinning on a common
* spinloop, release them all now so they can start
Expand Down
6 changes: 5 additions & 1 deletion trunk/arch/ppc64/kernel/machine_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,17 @@ static void kexec_prepare_cpus(void)

static void kexec_prepare_cpus(void)
{
extern void smp_release_cpus(void);
/*
* move the secondarys to us so that we can copy
* the new kernel 0-0x100 safely
*
* do this if kexec in setup.c ?
*
* We need to release the cpus if we are ever going from an
* UP to an SMP kernel.
*/
smp_relase_cpus();
smp_release_cpus();
if (ppc_md.cpu_irq_down)
ppc_md.cpu_irq_down();
local_irq_disable();
Expand Down

0 comments on commit ae2547c

Please sign in to comment.