summaryrefslogtreecommitdiff
path: root/kernel/irq/Makefile
diff options
context:
space:
mode:
authorEliav Farber <farbere@amazon.com>2024-12-04 14:20:02 +0000
committerThomas Gleixner <tglx@linutronix.de>2024-12-11 20:32:34 +0100
commitbad6722e478f5b17a5ceb039dfb4c680cf2c0b48 (patch)
tree1415c9f991a6a65e0dec4ac7fa5acee7fd18cb24 /kernel/irq/Makefile
parent429f49ad361cd999ca221d8b562ae2552b7c3e2c (diff)
kexec: Consolidate machine_kexec_mask_interrupts() implementation
Consolidate the machine_kexec_mask_interrupts implementation into a common function located in a new file: kernel/irq/kexec.c. This removes duplicate implementations from architecture-specific files in arch/arm, arch/arm64, arch/powerpc, and arch/riscv, reducing code duplication and improving maintainability. The new implementation retains architecture-specific behavior for CONFIG_GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD, which was previously implemented for ARM64. When enabled (currently for ARM64), it clears the active state of interrupts forwarded to virtual machines (VMs) before handling other interrupt masking operations. Signed-off-by: Eliav Farber <farbere@amazon.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241204142003.32859-2-farbere@amazon.com
Diffstat (limited to 'kernel/irq/Makefile')
-rw-r--r--kernel/irq/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/Makefile b/kernel/irq/Makefile
index f19d3080bf11..c0f44c06d69d 100644
--- a/kernel/irq/Makefile
+++ b/kernel/irq/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y := irqdesc.o handle.o manage.o spurious.o resend.o chip.o dummychip.o devres.o
+obj-y := irqdesc.o handle.o manage.o spurious.o resend.o chip.o dummychip.o devres.o kexec.o
obj-$(CONFIG_IRQ_TIMINGS) += timings.o
ifeq ($(CONFIG_TEST_IRQ_TIMINGS),y)
CFLAGS_timings.o += -DDEBUG