From: Karsten Wiese Date: Thu, 28 Feb 2008 14:10:50 +0000 (+0100) Subject: clockevents: optimise tick_nohz_stop_sched_tick() a bit X-Git-Tag: v2.6.26-rc1~1151^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=903b8a8d4835a796f582033802c83283886f4a3d;p=pandora-kernel.git clockevents: optimise tick_nohz_stop_sched_tick() a bit Call ts = &per_cpu(tick_cpu_sched, cpu); and cpu = smp_processor_id(); once instead of twice. No functional change done, as changed code runs with local irq off. Reduces source lines and text size (20bytes on x86_64). [ akpm@linux-foundation.org: Build fix ] Signed-off-by: Karsten Wiese Cc: Andrew Morton Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed