sh: oprofile: Fix up count size mismatch for common impl.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 5 Nov 2009 08:13:15 +0000 (17:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 5 Nov 2009 08:13:15 +0000 (17:13 +0900)
This reduces the 'count' size in the common support structure to 32-bits
so that it matches up with what oprofile is expecting. The SH7750 code
was using a nasty oprofilefs hack to expose the 48-bit counter, although
no other implementations were. Now that the offending driver has been
killed off, it's possible to restore some semblance of sanity.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/oprofile/op_impl.h

index 4d50997..1244479 100644 (file)
@@ -6,7 +6,7 @@ struct op_counter_config {
        unsigned long enabled;
        unsigned long event;
 
-       unsigned long long count;
+       unsigned long count;
 
        /* Dummy values for userspace tool compliance */
        unsigned long kernel;