Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204474
b: refs/heads/master
c: 36f217d
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Aug 5, 2010
1 parent ce50def commit 6d5138a
Show file tree
Hide file tree
Showing 4 changed files with 13 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: 220937b1aa97025a0e2fff0604b00ee6e9b7ccd3
refs/heads/master: 36f217d9df3e6bf8e6ae7647827b485b79dbaf8e
5 changes: 4 additions & 1 deletion trunk/arch/mips/alchemy/devboards/pb1000/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ static void board_power_off(void)
{
printk(KERN_ALERT "It's now safe to remove power\n");
while (1)
asm volatile (".set mips3 ; wait ; .set mips1");
asm volatile (
" .set mips32 \n"
" wait \n"
" .set mips0 \n");
}

void __init board_setup(void)
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/mips/alchemy/mtx-1/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ static void mtx1_power_off(void)
{
printk(KERN_ALERT "It's now safe to remove power\n");
while (1)
asm volatile (".set mips3 ; wait ; .set mips1");
asm volatile (
" .set mips32 \n"
" wait \n"
" .set mips0 \n");
}

void __init board_setup(void)
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/mips/alchemy/xxs1500/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ static void xxs1500_power_off(void)
{
printk(KERN_ALERT "It's now safe to remove power\n");
while (1)
asm volatile (".set mips3 ; wait ; .set mips1");
asm volatile (
" .set mips32 \n"
" wait \n"
" .set mips0 \n");
}

void __init board_setup(void)
Expand Down

0 comments on commit 6d5138a

Please sign in to comment.