[PATCH v3 2/7] MIPS: dec: Add missing <linux/interrupt.h> inclusion to reset.h

From: Maciej W. Rozycki

Date: Sat Sep 19 2026 - 11:14:59 EST


From: WangYuli <wangyuli@xxxxxxxxxxxxx>

Pull the header directly that is required for `irqreturn_t' type.

Fixes: 0eb77376912e ("MIPS: DEC: Fix prototypes for halt/reset handlers")
Signed-off-by: WangYuli <wangyuli@xxxxxxxxxxxxx>
Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxxx>
---
Changes from v2 (3/6),
<https://lore.kernel.org/r/3AD7E5DDE3F05C6D+20250422102253.137944-3-wangyuli@xxxxxxxxxxxxx/>:

- Split off the part still required.
---
arch/mips/include/asm/dec/reset.h | 1 +
1 file changed, 1 insertion(+)

linux-wangyuli-mips-dec-reset-interrupt.diff
Index: linux-macro/arch/mips/include/asm/dec/reset.h
===================================================================
--- linux-macro.orig/arch/mips/include/asm/dec/reset.h
+++ linux-macro/arch/mips/include/asm/dec/reset.h
@@ -10,6 +10,7 @@
#define __ASM_DEC_RESET_H

#include <linux/compiler_attributes.h>
+#include <linux/interrupt.h>

void __noreturn dec_machine_restart(char *command);
void __noreturn dec_machine_halt(void);