summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/44x
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2008-12-11 10:14:25 +0100
committerPaul Mackerras <paulus@samba.org>2008-12-16 05:53:13 +0100
commitedc72ac4a0894247a6d3f1157a8ec8d603fff52d (patch)
tree9d712442158c4276f1af551c518c4247da6ff2ba /arch/powerpc/platforms/44x
parentpowerpc/powermac: Use set_hard_smp_processor_id() instead of smp_hw_index (diff)
downloadlinux-edc72ac4a0894247a6d3f1157a8ec8d603fff52d.tar.xz
linux-edc72ac4a0894247a6d3f1157a8ec8d603fff52d.zip
powerpc/pseries: Check for GIQ indicator before calling set-indicator
Since "Factor out cpu joining/unjoining the GIQ" (b4963255ad5a426f04a0bb15c4315fa4bb40cde9) the WARN_ON in xics_set_cpu_giq() is being triggered during boot on JS20 because the GIQ indicator is not available on that platform. While the warning is harmless and the system runs normally, it's nicer to check for the existence of the indicator before trying to manipulate it. Implement rtas_indicator_present(), which searches the /rtas/rtas-indicators property for the given indicator token, and use this function in xics_set_cpu_giq(). Also use a WARN statement in xics_set_cpu_giq to get better information on failure. Signed-off-by: Nathan Lynch <ntl@pobox.com> Acked-by: Milton Miller <miltonm@bga.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/44x')
0 files changed, 0 insertions, 0 deletions