diff options
author | Robert Richter <robert.richter@amd.com> | 2008-07-22 15:08:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-26 05:48:07 -0400 |
commit | 90645700ef8393cd9cdc02d83da36726fc88f49e (patch) | |
tree | 4bd03626a2cc326d935e9b9640d4be7c4498423d /arch/x86/oprofile | |
parent | 7d77f2dcae37cf232950cd0181fb0a2cddb18130 (diff) |
OProfile: Fix build error in op_model_athlon.c
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Cc: Barry Kasindorf <barry.kasindorf@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/oprofile')
-rw-r--r-- | arch/x86/oprofile/op_model_athlon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/oprofile/op_model_athlon.c b/arch/x86/oprofile/op_model_athlon.c index 90193b1538a0..284c45661ed7 100644 --- a/arch/x86/oprofile/op_model_athlon.c +++ b/arch/x86/oprofile/op_model_athlon.c | |||
@@ -73,6 +73,11 @@ | |||
73 | /* MSR to set the IBS control register APIC LVT offset */ | 73 | /* MSR to set the IBS control register APIC LVT offset */ |
74 | #define IBS_LVT_OFFSET_PCI 0x1CC | 74 | #define IBS_LVT_OFFSET_PCI 0x1CC |
75 | 75 | ||
76 | /* The function interface needs to be fixed, something like add | ||
77 | data. Should then be added to linux/oprofile.h. */ | ||
78 | extern void oprofile_add_ibs_sample(struct pt_regs *const regs, | ||
79 | unsigned int * const ibs_sample, u8 code); | ||
80 | |||
76 | struct ibs_fetch_sample { | 81 | struct ibs_fetch_sample { |
77 | /* MSRC001_1031 IBS Fetch Linear Address Register */ | 82 | /* MSRC001_1031 IBS Fetch Linear Address Register */ |
78 | unsigned int ibs_fetch_lin_addr_low; | 83 | unsigned int ibs_fetch_lin_addr_low; |