From: Nathan Fontenot Date: Wed, 24 Apr 2013 06:06:17 +0000 (+0000) Subject: powerpc/pseries: Enable PRRN handling X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1b1218d32efdc81134eeb908935a18659cb3d9d7;p=openwrt%2Fstaging%2Fblogic.git powerpc/pseries: Enable PRRN handling The Linux kernel and platform firmware negotiate their mutual support of the PRRN option via the ibm,client-architecture-support interface. This patch simply sets the appropriate fields in the client architecture vector to indicate Linux support for PRRN and will allow the firmware to report PRRN events via the RTAS event-scan mechanism. Signed-off-by: Nathan Fontenot Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 1b0000a247d8..5eccda9fd33f 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -698,7 +698,7 @@ unsigned char ibm_architecture_vec[] = { #else 0, #endif - OV5_FEAT(OV5_TYPE1_AFFINITY), + OV5_FEAT(OV5_TYPE1_AFFINITY) | OV5_FEAT(OV5_PRRN), 0, 0, 0,