git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/oprofile: Modify initialization of num_virt_counters
[safe/jmp/linux-2.6]
/
arch
/
x86
/
oprofile
/
op_model_ppro.c
diff --git
a/arch/x86/oprofile/op_model_ppro.c
b/arch/x86/oprofile/op_model_ppro.c
index
753a02a
..
4899215
100644
(file)
--- a/
arch/x86/oprofile/op_model_ppro.c
+++ b/
arch/x86/oprofile/op_model_ppro.c
@@
-206,7
+206,6
@@
static void ppro_shutdown(struct op_msrs const * const msrs)
struct op_x86_model_spec op_ppro_spec = {
.num_counters = 2,
.num_controls = 2,
- .num_virt_counters = 2,
.reserved = MSR_PPRO_EVENTSEL_RESERVED,
.fill_in_addresses = &ppro_fill_in_addresses,
.setup_ctrs = &ppro_setup_ctrs,