Skip to content

Commit

Permalink
sh: oprofile: Fix up count size mismatch for common impl.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Nov 5, 2009
1 parent 093aed1 commit e9c4148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/oprofile/op_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9c4148

Please sign in to comment.