diff options
author | Milton Miller <miltonm@bga.com> | 2007-12-14 15:52:15 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-20 16:15:41 +1100 |
commit | 6e6b44e8223a01d35fceec3631be356fbdbcf004 (patch) | |
tree | dab1e44a25802a2119e3ab1bdb855598640a1eda /include/asm-arm/smp.h | |
parent | 8b5621f183f7e56958b0a0aae689af5af2efeda7 (diff) |
[POWERPC] Timer interrupt: use a struct for two per_cpu varables
timer_interrupt() was calculating per_cpu_offset several times, having to
start from the toc because of potential aliasing issues.
Placing both decrementer per_cpu varables in a struct and calculating
the address once with __get_cpu_var results in better code on both 32
and 64 bit.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-arm/smp.h')
0 files changed, 0 insertions, 0 deletions