diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-11-05 17:13:15 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-11-05 17:13:15 +0900 |
commit | e9c4148fd4f03008ecbe3b673e25764232a15503 (patch) | |
tree | 52d4eea64a1d01cea4101db3b7ab5e4b67d4b0bf /arch/sh/oprofile/op_impl.h | |
parent | 093aed1937cc7ae9290ede24ad45f040e097510b (diff) | |
download | blackbird-op-linux-e9c4148fd4f03008ecbe3b673e25764232a15503.tar.gz blackbird-op-linux-e9c4148fd4f03008ecbe3b673e25764232a15503.zip |
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/op_impl.h')
-rw-r--r-- | arch/sh/oprofile/op_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/oprofile/op_impl.h b/arch/sh/oprofile/op_impl.h index 4d509975eba6..1244479ceb29 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; |