perf_counter, x86: make interrupt handler model specific
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:47:05 +0000 (12:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:04 +0000 (14:51 +0200)
commit39d81eab2374d71b2d9c82f66258a1a4f57ddd2e
tree94900f94b500eb18bb5963a258740c660a33c3e3
parent5f4ec28ffe77c840354cce1820a3436106e9e0f1
perf_counter, x86: make interrupt handler model specific

This separates the perfcounter interrupt handler for AMD and Intel
cpus. The AMD interrupt handler implementation is a follow-on patch.

[ Impact: refactor and clean up code ]

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-9-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c