diff options
author | 2023-06-18 18:24:55 +0200 | |
---|---|---|
committer | 2023-07-13 11:22:25 -0500 | |
commit | 091f9f7f3b819434eed5c1c3acad6c7b32bf13f6 (patch) | |
tree | a5f2204f5253cc4bbfbef56d8a572a32d12c640e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Reorder pci_dev fields to reduce holes (diff) | |
download | wireguard-linux-091f9f7f3b819434eed5c1c3acad6c7b32bf13f6.tar.xz wireguard-linux-091f9f7f3b819434eed5c1c3acad6c7b32bf13f6.zip |
PCI: Change pdev->rom_attr_enabled to single bit
Make 'rom_attr_enabled' a single bit in a bitfield and move it close to an
existing bitfield so that they can be merged.
This field is only used in 'drivers/pci/pci-sysfs.c' to store 0 or 1.
On x86_64, this shrinks the size of 'struct pci_dev' by 8 bytes from 3560
to 3552.
Link: https://lore.kernel.org/r/d7a34ad369336db73145c3efbade895e792a0ad3.1687105455.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions