perf_counter, x86: add default path to cpu detection
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:47:00 +0000 (12:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:01 +0000 (14:51 +0200)
commit4138960a9251a265002b5cf07e671a49f8495381
tree7c2be16434955c87146911193329f1baef4b0f63
parent829b42dd395c5801f6ae87da87ecbdcfd5ef1a6c
perf_counter, x86: add default path to cpu detection

This quits hw counter initialization immediately if no cpu is
detected.

[ Impact: cleanup ]

Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1241002046-8832-4-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c