]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitaa1f8fb640c04eb65701e2ba56b1057bfbe7f43b
tree8905c6b00a7f54a976ec6e68209ad41cf43b17ce
parentead5a3bd069b20b2b868bdcbca1882deeb4ed46c
[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