[PATCH] ppc64: actually call prom_send_capabilities

From: Paul Mackerras
Date: Tue May 31 2005 - 01:51:56 EST


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@xxxxxxxxx>
---

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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/