Problem with knlist in AIX 5.3 for Power5 processor

Hi all,

I have a AIX 5.3 Installation on the Power5 processor. I am using the knlist API for getting the details of the CPU details like user cpu, kernel cpu, idle cpu and wait cpu. My code is working fine on other Installations of AIX like PowerPC_POWER4 but it is giving wrong values on Power5 machine.

It would be helpful if anyone can let me know if the knlist API is giving problems on Power5 machine.