From: Peter Zijlstra Date: Thu, 11 Feb 2010 12:21:58 +0000 (+0100) Subject: perf_events: Simplify code by removing cpu argument to hw_perf_group_sched_in() X-Git-Tag: v2.6.34-rc1~262^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e37738a2fac964583debe91099bc3248554f6e5;p=pandora-kernel.git perf_events: Simplify code by removing cpu argument to hw_perf_group_sched_in() Since the cpu argument to hw_perf_group_sched_in() is always smp_processor_id(), simplify the code a little by removing this argument and using the current cpu where needed. Signed-off-by: Peter Zijlstra Cc: David Miller Cc: Paul Mackerras Cc: Benjamin Herrenschmidt Cc: Frederic Weisbecker LKML-Reference: <1265890918.5396.3.camel@laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed