From: James Hogan Date: Wed, 27 Feb 2013 16:48:42 +0000 (+0000) Subject: metag: perf: use hard_processor_id() to get thread X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~101^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9344de1b1c64b2217f3b15508266deff2a8d6c84;p=pandora-kernel.git metag: perf: use hard_processor_id() to get thread Use hard_processor_id() to get the current thread number rather than get_cpu() and the hardware thread mapping. There was no matching put_cpu(), and in any case this should be slightly more efficient. Signed-off-by: James Hogan Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed