diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-03-25 15:32:57 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-04-04 22:19:02 +0300 |
commit | 32666d9cb3ddcf0041b6377cbab68f4c2d7c4171 (patch) | |
tree | 47e46bc36965434a6c3dc4f4bf5bf28936a78f0b /lib/irq_poll.c | |
parent | 39cd87c4eb2b893354f3b850f916353f2658ae6f (diff) | |
download | linux-32666d9cb3ddcf0041b6377cbab68f4c2d7c4171.tar.xz |
ACPI: bus: Make container_of() no-op where it makes sense
Move list head node to be the first member in a few data structures
in order to make container_of() no-op at compile time. On x86_64 with
a custom (default + a few dozens of drivers enabled) configuration:
add/remove: 0/0 grow/shrink: 5/12 up/down: 21/-124 (-103)
...
Total: Before=39924675, After=39924572, chg -0.00%
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions