Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 2/2][MIPS] remove wrppmc_machine_power_off()
       [not found] <20080711223748.e164b514.yoichi_yuasa@tripeaks.co.jp>
@ 2008-07-11 13:39 ` Yoichi Yuasa
  2008-07-11 14:05   ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2008-07-11 13:39 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips

Remove wrppmc_machine_power_off().
It can be replace wrppmc_machine_halt().

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

diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/arch/mips/gt64120/wrppmc/reset.c linux/arch/mips/gt64120/wrppmc/reset.c
--- linux-orig/arch/mips/gt64120/wrppmc/reset.c	2008-07-08 13:33:35.731399494 +0900
+++ linux/arch/mips/gt64120/wrppmc/reset.c	2008-07-08 13:33:45.979983528 +0900
@@ -38,8 +38,3 @@ void wrppmc_machine_halt(void)
 			cpu_wait();
 	}
 }
-
-void wrppmc_machine_power_off(void)
-{
-	wrppmc_machine_halt();
-}
diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/arch/mips/gt64120/wrppmc/setup.c linux/arch/mips/gt64120/wrppmc/setup.c
--- linux-orig/arch/mips/gt64120/wrppmc/setup.c	2008-07-08 10:12:29.899943226 +0900
+++ linux/arch/mips/gt64120/wrppmc/setup.c	2008-07-08 13:34:20.305939652 +0900
@@ -98,11 +98,10 @@ void __init plat_mem_setup(void)
 {
 	extern void wrppmc_machine_restart(char *command);
 	extern void wrppmc_machine_halt(void);
-	extern void wrppmc_machine_power_off(void);
 
 	_machine_restart = wrppmc_machine_restart;
 	_machine_halt	 = wrppmc_machine_halt;
-	pm_power_off	 = wrppmc_machine_power_off;
+	pm_power_off	 = wrppmc_machine_halt;
 
 	/* This makes the operations of 'in/out[bwl]' to the
 	 * physical address ( < KSEG0) can work via KSEG1

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

* Re: [PATCH 2/2][MIPS] remove wrppmc_machine_power_off()
  2008-07-11 13:39 ` [PATCH 2/2][MIPS] remove wrppmc_machine_power_off() Yoichi Yuasa
@ 2008-07-11 14:05   ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-07-11 14:05 UTC (permalink / raw)
  To: Yoichi Yuasa; +Cc: linux-mips

On Fri, Jul 11, 2008 at 10:39:18PM +0900, Yoichi Yuasa wrote:

> Remove wrppmc_machine_power_off().
> It can be replace wrppmc_machine_halt().

Queued for 2.6.27.  Thanks Yoichi-San,

  Ralf

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

end of thread, other threads:[~2008-07-11 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080711223748.e164b514.yoichi_yuasa@tripeaks.co.jp>
2008-07-11 13:39 ` [PATCH 2/2][MIPS] remove wrppmc_machine_power_off() Yoichi Yuasa
2008-07-11 14:05   ` Ralf Baechle

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