diff options
author | Peter Zijlstra <[email protected]> | 2023-01-12 20:43:46 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-01-13 11:48:16 +0100 |
commit | 6a123d6ae6ea930b9bb3c595ceac2b2f93039f67 (patch) | |
tree | d14977fe3ddd13699b2ada49c8072216d4528d3f /scripts/gdb/linux/proc.py | |
parent | 10fdb38cee36b8dc4775e6fe4ad85e78bafdbd65 (diff) |
cpuidle, ACPI: Make noinstr clean
objtool found cases where ACPI methods called out into instrumentation code:
vmlinux.o: warning: objtool: io_idle+0xc: call to __inb.isra.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: acpi_idle_enter+0xfe: call to num_online_cpus() leaves .noinstr.text section
vmlinux.o: warning: objtool: acpi_idle_enter+0x115: call to acpi_idle_fallback_to_c1.isra.0() leaves .noinstr.text section
Fix this by: marking the IO in/out, acpi_idle_fallback_to_c1() and
num_online_cpus() methods as __always_inline.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Tested-by: Ulf Hansson <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions