From: Robert Richter Date: Wed, 29 Apr 2009 10:47:23 +0000 (+0200) Subject: perf_counter, x86: introduce max_period variable X-Git-Tag: v2.6.31-rc1~383^2~329 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c619b8ffb1cec6a431687a35695dc6fd292a79e6;p=pandora-kernel.git perf_counter, x86: introduce max_period variable In x86 pmus the allowed counter period to programm differs. This introduces a max_period value and allows the generic implementation for all models to check the max period. [ Impact: generalize code ] Signed-off-by: Robert Richter Cc: Paul Mackerras Acked-by: Peter Zijlstra LKML-Reference: <1241002046-8832-27-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed