From: Milton Miller Date: Fri, 14 Dec 2007 04:52:15 +0000 (+1100) Subject: [POWERPC] Timer interrupt: use a struct for two per_cpu varables X-Git-Tag: v2.6.25-rc1~1131^2~262 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e6b44e8223a01d35fceec3631be356fbdbcf004;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed