projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ifxmips] cleanup sources and prepare for 2.6.27
[openwrt-10.03/.git]
/
target
/
linux
/
ifxmips
/
files
/
arch
/
mips
/
ifxmips
/
reset.c
diff --git
a/target/linux/ifxmips/files/arch/mips/ifxmips/reset.c
b/target/linux/ifxmips/files/arch/mips/ifxmips/reset.c
index d94d8ac810b8c24c975c8341d8e5be5f4d607936..c85d75381f04ced4aee0090511aa1a0d207731ec 100644
(file)
--- a/
target/linux/ifxmips/files/arch/mips/ifxmips/reset.c
+++ b/
target/linux/ifxmips/files/arch/mips/ifxmips/reset.c
@@
-23,8
+23,7
@@
#include <asm/io.h>
#include <asm/ifxmips/ifxmips.h>
#include <asm/io.h>
#include <asm/ifxmips/ifxmips.h>
-static void
-ifxmips_machine_restart(char *command)
+static void ifxmips_machine_restart(char *command)
{
printk(KERN_NOTICE "System restart\n");
local_irq_disable();
{
printk(KERN_NOTICE "System restart\n");
local_irq_disable();
@@
-33,24
+32,21
@@
ifxmips_machine_restart(char *command)
for(;;);
}
for(;;);
}
-static void
-ifxmips_machine_halt(void)
+static void ifxmips_machine_halt(void)
{
printk(KERN_NOTICE "System halted.\n");
local_irq_disable();
for(;;);
}
{
printk(KERN_NOTICE "System halted.\n");
local_irq_disable();
for(;;);
}
-static void
-ifxmips_machine_power_off(void)
+static void ifxmips_machine_power_off(void)
{
printk (KERN_NOTICE "Please turn off the power now.\n");
local_irq_disable();
for(;;);
}
{
printk (KERN_NOTICE "Please turn off the power now.\n");
local_irq_disable();
for(;;);
}
-void
-ifxmips_reboot_setup(void)
+void ifxmips_reboot_setup(void)
{
_machine_restart = ifxmips_machine_restart;
_machine_halt = ifxmips_machine_halt;
{
_machine_restart = ifxmips_machine_restart;
_machine_halt = ifxmips_machine_halt;