Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80987
b: refs/heads/master
c: 32e2b55
h: refs/heads/master
i:
  80985: 29acaa0
  80983: 9a309ac
v: v3
  • Loading branch information
Olof Johansson committed Dec 1, 2007
1 parent eaa2533 commit ff1a937
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b32bc03256c82a6a4fcb3c2520b54469b74ec82
refs/heads/master: 32e2b55eec7116a859b384dbcc4b52a54a156869
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/platforms/pasemi/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@

#include "pasemi.h"

#if !defined(CONFIG_SMP)
static void smp_send_stop(void) {}
#endif

/* SDC reset register, must be pre-mapped at reset time */
static void __iomem *reset_reg;

Expand All @@ -60,6 +64,9 @@ static int num_mce_regs;

static void pas_restart(char *cmd)
{
/* Need to put others cpu in hold loop so they're not sleeping */
smp_send_stop();
udelay(10000);
printk("Restarting...\n");
while (1)
out_le32(reset_reg, 0x6000000);
Expand Down

0 comments on commit ff1a937

Please sign in to comment.