All of lore.kernel.org
 help / color / mirror / Atom feed
* Ultra2 poweroff patch
@ 2005-09-24  9:20 Christopher Zimmermann
  2005-09-27 22:58 ` David S. Miller
  2005-10-14 22:27 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Zimmermann @ 2005-09-24  9:20 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

Hi,

I don't know why, but the following change lets my Ultra2 poweroff.

Christopher

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 540 bytes --]

--- linux-2.6.13.1/arch/sparc64/prom/misc.c	2005-09-10 04:42:58.000000000 +0200
+++ linux-2.6.13.1_patched/arch/sparc64/prom/misc.c	2005-09-24 11:10:46.000000000 +0200
@@ -83,17 +83,17 @@
 #endif
 again:
 	p1275_cmd("exit", P1275_INOUT(0, 0));
 	goto again; /* PROM is out to get me -DaveM */
 }
 
 void prom_halt_power_off(void)
 {
-#ifdef CONFIG_SMP
+#ifdef 0 /*CONFIG_SMP*/
 	smp_promstop_others();
 	udelay(8000);
 #endif
 	p1275_cmd("SUNW,power-off", P1275_INOUT(0, 0));
 
 	/* if nothing else helps, we just halt */
 	prom_halt();
 }

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

end of thread, other threads:[~2005-10-14 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-24  9:20 Ultra2 poweroff patch Christopher Zimmermann
2005-09-27 22:58 ` David S. Miller
2005-10-14 22:27 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.