diff options
author | Smita Koralahalli <[email protected]> | 2022-02-25 13:33:40 -0600 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-04-05 21:23:34 +0200 |
commit | 9f1b19b977ee3cbd3fe9135ff63dbf221eac1d6a (patch) | |
tree | 6ac31171f6a67e9277cf54ef460d403137b6e0f8 /lib/mpi/mpi-sub-ui.c | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
x86/mce: Avoid unnecessary padding in struct mce_bank
Convert struct mce_bank member "init" from bool to a bitfield to get rid
of unnecessary padding.
$ pahole -C mce_bank arch/x86/kernel/cpu/mce/core.o
before:
/* size: 16, cachelines: 1, members: 2 */
/* padding: 7 */
/* last cacheline: 16 bytes */
after:
/* size: 16, cachelines: 1, members: 3 */
/* last cacheline: 16 bytes */
No functional changes.
Signed-off-by: Smita Koralahalli <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions