]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
oprofile: drop const in num counters field
authorAndi Kleen <ak@linux.intel.com>
Mon, 18 Aug 2008 12:49:47 +0000 (14:49 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 13 Oct 2008 17:25:04 +0000 (19:25 +0200)
allow to modify it at runtime

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/op_x86_model.h

index 05a0261ba0c38208f4481d467ffc9efc70e57479..3d3b85d3c2573299c6206943afaa70fac271615d 100644 (file)
@@ -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,