|
@@ -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)
|