Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75380
b: refs/heads/master
c: 84c21e2
h: refs/heads/master
v: v3
  • Loading branch information
Dmitri Vorobiev authored and Ralf Baechle committed Jan 11, 2008
1 parent 9c6d4bf commit 402a058
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 1b1c5f0d96eb05cf6cd4702dabf4e003eded08c2
refs/heads/master: 84c21e254205ecac98f75b01589996440c6a6db0
10 changes: 6 additions & 4 deletions trunk/arch/mips/mips-boards/generic/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,18 @@ static void atlas_machine_power_off(void);

static void mips_machine_restart(char *command)
{
unsigned int __iomem *softres_reg = ioremap(SOFTRES_REG, sizeof(unsigned int));
unsigned int __iomem *softres_reg =
ioremap(SOFTRES_REG, sizeof(unsigned int));

writew(GORESET, softres_reg);
__raw_writel(GORESET, softres_reg);
}

static void mips_machine_halt(void)
{
unsigned int __iomem *softres_reg = ioremap(SOFTRES_REG, sizeof(unsigned int));
unsigned int __iomem *softres_reg =
ioremap(SOFTRES_REG, sizeof(unsigned int));

writew(GORESET, softres_reg);
__raw_writel(GORESET, softres_reg);
}

#if defined(CONFIG_MIPS_ATLAS)
Expand Down

0 comments on commit 402a058

Please sign in to comment.