summaryrefslogtreecommitdiffstats
path: root/arch/sh/oprofile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-11-05 17:13:15 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-11-05 17:13:15 +0900
commite9c4148fd4f03008ecbe3b673e25764232a15503 (patch)
tree52d4eea64a1d01cea4101db3b7ab5e4b67d4b0bf /arch/sh/oprofile
parent093aed1937cc7ae9290ede24ad45f040e097510b (diff)
downloadop-kernel-dev-e9c4148fd4f03008ecbe3b673e25764232a15503.zip
op-kernel-dev-e9c4148fd4f03008ecbe3b673e25764232a15503.tar.gz
sh: oprofile: Fix up count size mismatch for common impl.
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>
Diffstat (limited to 'arch/sh/oprofile')
-rw-r--r--arch/sh/oprofile/op_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/oprofile/op_impl.h b/arch/sh/oprofile/op_impl.h
index 4d50997..1244479 100644
--- a/arch/sh/oprofile/op_impl.h
+++ b/arch/sh/oprofile/op_impl.h
@@ -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;
OpenPOWER on IntegriCloud