aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorD Scott Phillips <[email protected]>2023-09-29 17:20:35 -0700
committerBjorn Helgaas <[email protected]>2023-10-25 13:05:37 -0500
commit33883eeda456f9ea73f7a2d65e321b3c82fd9294 (patch)
treee012d670eaf22ec779c665888a34679f8e508503 /tools/perf/util/trace-event-scripting.c
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
PCI: acpiphp: Allow built-in drivers for Attention Indicators
Since the introduction of the attention callback in acpiphp, a non-zero struct module *owner has been required in acpiphp_register_attention(). The intent seemed to be that the core code could hold a refcount on the module while invoking a callback. This check accidentally precludes the possibility of attention callbacks to built-in drivers. Remove the check on `struct module *owner` in acpiphp_register_attention() so attention callbacks can also be registered from built-in drivers. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: D Scott Phillips <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions