Skip to content

Commit

Permalink
perfcounters: fix reserved bits sizing
Browse files Browse the repository at this point in the history
The sum of bits is 65 currently not 64 - so reduce the # of reserved bits
from 55 to 54.

Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Mar 5, 2009
1 parent 2b57845 commit 2485e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/perf_counter.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ struct perf_counter_hw_event {
exclude_hv : 1, /* ditto hypervisor */
exclude_idle : 1, /* don't count when idle */

__reserved_1 : 55;
__reserved_1 : 54;

__u32 extra_config_len;
__u32 __reserved_4;
Expand Down

0 comments on commit 2485e51

Please sign in to comment.