Searched hist:"6 e6b44e8223a01d35fceec3631be356fbdbcf004" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | time.c | diff 6e6b44e8223a01d35fceec3631be356fbdbcf004 Thu Dec 13 22:52:15 CST 2007 Milton Miller <miltonm@bga.com> [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>
|