From: Andi Kleen Date: Mon, 18 Aug 2008 12:49:47 +0000 (+0200) Subject: oprofile: drop const in num counters field X-Git-Tag: v2.6.28-rc1~35^2~5^2~3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5d4488027d9cf3161c71566dfabb116bf69ab4d9;p=~shefty%2Frdma-dev.git oprofile: drop const in num counters field allow to modify it at runtime Signed-off-by: Andi Kleen Signed-off-by: Robert Richter --- diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h index 05a0261ba0c..3d3b85d3c25 100644 --- a/arch/x86/oprofile/op_x86_model.h +++ b/arch/x86/oprofile/op_x86_model.h @@ -34,8 +34,8 @@ struct pt_regs; struct op_x86_model_spec { int (*init)(struct oprofile_operations *ops); void (*exit)(void); - unsigned int const num_counters; - unsigned int const num_controls; + unsigned int num_counters; + unsigned int num_controls; void (*fill_in_addresses)(struct op_msrs * const msrs); void (*setup_ctrs)(struct op_msrs const * const msrs); int (*check_ctrs)(struct pt_regs * const regs,