From: Robert Richter Date: Wed, 29 Apr 2009 10:47:11 +0000 (+0200) Subject: perf_counter, x86: make x86_pmu data a static struct X-Git-Tag: v2.6.31-rc1~383^2~341 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a06bd8508f65ad1dd5cd2046b85694813fa36a2;p=pandora-kernel.git perf_counter, x86: make x86_pmu data a static struct Instead of using a pointer to reference to the x86 pmu we now have one single data structure that is initialized at the beginning. This saves the pointer access when using this memory. [ Impact: micro-optimization ] Signed-off-by: Robert Richter Cc: Paul Mackerras Acked-by: Peter Zijlstra LKML-Reference: <1241002046-8832-15-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed