[POWERPC] Fix stolen time for SMT without LPAR
authorMichael Neuling <mikey@neuling.org>
Fri, 8 Jun 2007 03:18:50 +0000 (13:18 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 25 Jun 2007 07:03:25 +0000 (17:03 +1000)
commit4cefebb1b497a84d61f2fa29d497df75a84b69d4
tree8905c6b00a7f54a976ec6e68209ad41cf43b17ce
parentbb807e69c9eec271808cf69d19913d7ee1a51f6f
[POWERPC] Fix stolen time for SMT without LPAR

For POWERPC, stolen time accounts for cycles lost to the hypervisor or
PURR cycles attributed to the other SMT thread.  Hence, when a PURR is
available, we should still calculate stolen time, irrespective of being
virtualised.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/time.c
include/asm-powerpc/time.h