From: Robert Richter Date: Tue, 13 Apr 2010 20:23:12 +0000 (+0200) Subject: perf, x86: Call x86_setup_perfctr() from .hw_config() X-Git-Tag: v2.6.35-rc1~522^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d0fcba67e47ff398a6fa86476d4884d472dc98a;p=pandora-kernel.git perf, x86: Call x86_setup_perfctr() from .hw_config() The perfctr setup calls are in the corresponding .hw_config() functions now. This makes it possible to introduce config functions for other pmu events that are not perfctr specific. Also, all of a sudden the code looks much nicer. Signed-off-by: Robert Richter Signed-off-by: Peter Zijlstra LKML-Reference: <1271190201-25705-4-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed