aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2007-12-14 15:52:19 +1100
committerPaul Mackerras <paulus@samba.org>2007-12-20 16:15:43 +1100
commitdb3801a858e97adee0f3b4c732e6ff325d95e0a5 (patch)
tree77e4cdeca573b95591eecc83a2af6ac03d7c1e50 /security
parent6e6b44e8223a01d35fceec3631be356fbdbcf004 (diff)
[POWERPC] Depend on ->initialized in calc_steal_time
If CPU_FTR_PURR is not set, we will never set cpu_purr_data->initialized. Checking via __get_cpu_var on 64 bit avoids one dependent load compared to cpu_has_feature in the not-present case, and is always required when it is present. The code is under CONFIG_VIRT_CPU_ACCOUNTING so 32 bit will not be affected. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions