From: Peter Zijlstra Date: Fri, 20 Nov 2009 21:19:52 +0000 (+0100) Subject: perf: Simplify __perf_event_sync_stat X-Git-Tag: v2.6.33-rc1~399^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dbebf15c5d3e265f751eec72c1538a00da4be27;p=pandora-kernel.git perf: Simplify __perf_event_sync_stat Removes constraints from __perf_event_read() by leaving it with a single callsite; this callsite had ctx->lock held, the other one does not. Removes some superfluous code from __perf_event_sync_stat(). Signed-off-by: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <20091120212508.918544317@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed