[PATCH] updates to surveillance for power5

Nathan Fontenot nfont at austin.ibm.com
Tue Aug 24 04:11:35 EST 2004


Paul Mackerras wrote:
> Nathan Fontenot writes:
>
>
>>This patch updates enable_surveillance() so we do not return an error
>>on platforms (notably power5) that do not have a surveillance sensor.
>>Additionaly, the rtas_call was changed to rtas_set_indicator as to avoid
>>having to handle RTAS_BUSY returns.
>
>
> Could you just add a #define in rtas.h for the -3 value and use that
> instead of the literal -3 please?  Looks good apart from that.
>
> Paul.
>

Here's an updated patch that adds a #define for the -3 return code.

--
Nathan Fontenot
Power Linux Platform Serviceability
Home:  IBM Austin 908/1E-036
Phone: 512.838.3377 (T/L 678.3377)
Email: nfont at austin.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: surv2.patch
Type: text/x-patch
Size: 1567 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20040823/b2e4f2fb/attachment.bin 


More information about the Linuxppc64-dev mailing list