Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH][MIPS] remove unneeded sni_machine_halt
@ 2007-08-04 14:24 Yoichi Yuasa
  2007-08-04 14:51 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2007-08-04 14:24 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips

Remove unneeded sni_machine_halt

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/sni/reset.c mips/arch/mips/sni/reset.c
--- mips-orig/arch/mips/sni/reset.c	2007-08-04 16:17:56.532228000 +0900
+++ mips/arch/mips/sni/reset.c	2007-08-04 16:23:31.429157750 +0900
@@ -40,10 +40,6 @@ void sni_machine_restart(char *command)
 	}
 }
 
-void sni_machine_halt(void)
-{
-}
-
 void sni_machine_power_off(void)
 {
 	*(volatile unsigned char *)PCIMT_CSWCSM = 0xfd;
diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/sni/setup.c mips/arch/mips/sni/setup.c
--- mips-orig/arch/mips/sni/setup.c	2007-08-04 16:17:56.532228000 +0900
+++ mips/arch/mips/sni/setup.c	2007-08-04 16:23:41.309775250 +0900
@@ -26,7 +26,6 @@
 unsigned int sni_brd_type;
 
 extern void sni_machine_restart(char *command);
-extern void sni_machine_halt(void);
 extern void sni_machine_power_off(void);
 
 static void __init sni_display_setup(void)
@@ -87,7 +86,6 @@ void __init plat_mem_setup(void)
 	}
 
 	_machine_restart = sni_machine_restart;
-	_machine_halt = sni_machine_halt;
 	pm_power_off = sni_machine_power_off;
 
 	sni_display_setup();

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-04 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-04 14:24 [PATCH][MIPS] remove unneeded sni_machine_halt Yoichi Yuasa
2007-08-04 14:51 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox