From: Heiko Carstens Date: Wed, 5 Jan 2011 11:47:55 +0000 (+0100) Subject: [S390] nohz: optimize arch_needs_cpu() X-Git-Tag: v2.6.38-rc1~461^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e8952174c6c239d1c86125e032fd6ad107a3e6;p=pandora-kernel.git [S390] nohz: optimize arch_needs_cpu() arch_needs_cpu() gets always executed on the current cpu. Therefore the cpu parameter can be ignored it is possible to use __get_cpu_var() instead of per_cpu() to access the per_cpu variable, which will generate better code. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed