mirror of https://gitee.com/openkylin/linux.git
perfcounters: fix reserved bits sizing
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>
This commit is contained in:
parent
2b578459c3
commit
2485e51844
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue