Skip to contentSkip to conversation

ppc64: actually call prom_send_capabilities

PATCH New Paul Mackerras 1 participant 1 message May 31, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc64: actually call prom_send_capabilities

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.

---

arch/ppc64/kernel/prom_init.c +6 -0
diff -urN linux-2.6/arch/ppc64/kernel/prom_init.c g5-ppc64/arch/ppc64/kernel/prom_init.c
@@ -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)