From: Milton Miller Date: Fri, 14 Dec 2007 04:52:10 +0000 (+1100) Subject: [POWERPC] Use __get_cpu_var in time.c X-Git-Tag: v2.6.25-rc1~1131^2~263 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b5621f183f7e56958b0a0aae689af5af2efeda7;p=pandora-kernel.git [POWERPC] Use __get_cpu_var in time.c Use __get_cpu_var(x) instead of per_cpu(x, smp_processor_id()), as it is optimized on ppc64 to access the current cpu's per-cpu offset directly; it's local_paca.offset instead of TOC->paca[local_paca->processor_id].offset. This is the trivial portion, two functions with one use each. Signed-off-by: Milton Miller Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed