aboutsummaryrefslogtreecommitdiff
path: root/io_uring/rsrc.c
diff options
context:
space:
mode:
authorGravatar Anup Patel <apatel@ventanamicro.com> 2023-10-25 19:58:20 +0530
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2023-10-27 10:09:15 +0200
commitf99b926f6543faeadba1b4524d8dc9c102489135 (patch)
tree51cb94533f0475a1c1e2bd09b030eda885a28659 /io_uring/rsrc.c
parentirqchip/ls-scfg-msi: Use device_get_match_data() (diff)
downloadlinux-f99b926f6543faeadba1b4524d8dc9c102489135.tar.gz
linux-f99b926f6543faeadba1b4524d8dc9c102489135.tar.bz2
linux-f99b926f6543faeadba1b4524d8dc9c102489135.zip
irqchip/sifive-plic: Fix syscore registration for multi-socket systems
Multi-socket systems have a separate PLIC in each socket, so __plic_init() is invoked for each PLIC. __plic_init() registers syscore operations, which obviously fails on the second invocation. Move it into the already existing condition for installing the CPU hotplug state so it is only invoked once when the first PLIC is initialized. [ tglx: Massaged changelog ] Fixes: e80f0b6a2cf3 ("irqchip/irq-sifive-plic: Add syscore callbacks for hibernation") Signed-off-by: Anup Patel <apatel@ventanamicro.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20231025142820.390238-4-apatel@ventanamicro.com
Diffstat (limited to 'io_uring/rsrc.c')
0 files changed, 0 insertions, 0 deletions