mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ppc64: actually call prom_send_capabilities
@ 2005-05-31  7:01 Paul Mackerras
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 2005-05-31  7:01 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: anton, linux-kernel

When I sent in the patch adding the code for the kernel to tell the
firmware about its capabilities on pSeries machines, I included the
function to give the capabilities to firmware but somehow forgot the
hunk that adds the call to the new function.  This patch adds the
call.

Signed-off-by: Paul Mackerras <paulus@samba.org>
---

diff -urN linux-2.6/arch/ppc64/kernel/prom_init.c g5-ppc64/arch/ppc64/kernel/prom_init.c
--- linux-2.6/arch/ppc64/kernel/prom_init.c	2005-05-30 14:49:57.000000000 +1000
+++ g5-ppc64/arch/ppc64/kernel/prom_init.c	2005-05-30 17:12:08.000000000 +1000
@@ -1881,6 +1881,12 @@
 		     &getprop_rval, sizeof(getprop_rval));
 
 	/*
+	 * On pSeries, inform the firmware about our capabilities
+	 */
+	if (RELOC(of_platform) & PLATFORM_PSERIES)
+		prom_send_capabilities();
+
+	/*
 	 * On pSeries, copy the CPU hold code
 	 */
        	if (RELOC(of_platform) & PLATFORM_PSERIES)


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

end of thread, other threads:[~2005-05-31 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200505311612.j4VGCWC8005159@hera.kernel.org>
2005-05-31 23:41 ` [PATCH] ppc64: actually call prom_send_capabilities Benjamin Herrenschmidt
2005-05-31  7:01 Paul Mackerras

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

all inboxes | Powered by JetHome®