aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/xenoprof.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-10 15:41:26 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-10 15:41:26 +0100
commitafd3d1854cc3896a78dc3d127fc9f153e98c6de2 (patch)
treeb00d2c2549373923a8906737162f1b03ddc68efa /xen/include/asm-x86/xenoprof.h
parent24b297caea90977f3fa9956c81c4c0577cce11cf (diff)
downloadxen-afd3d1854cc3896a78dc3d127fc9f153e98c6de2.tar.gz
xen-afd3d1854cc3896a78dc3d127fc9f153e98c6de2.tar.bz2
xen-afd3d1854cc3896a78dc3d127fc9f153e98c6de2.zip
xenoprof: Fix initialisation. Much can be done at boot-time, as
indicated by the fact that the low-level functiosn are marked '__init'. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/xenoprof.h')
-rw-r--r--xen/include/asm-x86/xenoprof.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/xen/include/asm-x86/xenoprof.h b/xen/include/asm-x86/xenoprof.h
index 2ce369dd81..d0bc57b5b6 100644
--- a/xen/include/asm-x86/xenoprof.h
+++ b/xen/include/asm-x86/xenoprof.h
@@ -23,7 +23,6 @@
#ifndef __ASM_X86_XENOPROF_H__
#define __ASM_X86_XENOPROF_H__
-int nmi_init(int *num_events, int *is_primary, char *cpu_type);
int nmi_reserve_counters(void);
int nmi_setup_events(void);
int nmi_enable_virq(void);
@@ -32,8 +31,7 @@ void nmi_stop(void);
void nmi_disable_virq(void);
void nmi_release_counters(void);
-#define xenoprof_arch_init(num_events, is_primary, cpu_type) \
- nmi_init(num_events, is_primary, cpu_type)
+int xenoprof_arch_init(int *num_events, char *cpu_type);
#define xenoprof_arch_reserve_counters() nmi_reserve_counters()
#define xenoprof_arch_setup_events() nmi_setup_events()
#define xenoprof_arch_enable_virq() nmi_enable_virq()