提交 e9c4148f 编写于 作者: P Paul Mundt

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: NPaul Mundt <lethal@linux-sh.org>
上级 093aed19
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册