hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/powerpc/include/asm/irq.h
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifdef __KERNEL__
23 #ifndef _ASM_POWERPC_IRQ_H
34 #define _ASM_POWERPC_IRQ_H
45
56 /*
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the License, or (at your option) any later version.
107 */
118
129 #include <linux/irqdomain.h>
....@@ -38,7 +35,6 @@
3835
3936 extern int distribute_irqs;
4037
41
-struct irqaction;
4238 struct pt_regs;
4339
4440 #define __ARCH_HAS_DO_SOFTIRQ
....@@ -48,23 +44,19 @@
4844 * Per-cpu stacks for handling critical, debug and machine check
4945 * level interrupts.
5046 */
51
-extern struct thread_info *critirq_ctx[NR_CPUS];
52
-extern struct thread_info *dbgirq_ctx[NR_CPUS];
53
-extern struct thread_info *mcheckirq_ctx[NR_CPUS];
54
-extern void exc_lvl_ctx_init(void);
55
-#else
56
-#define exc_lvl_ctx_init()
47
+extern void *critirq_ctx[NR_CPUS];
48
+extern void *dbgirq_ctx[NR_CPUS];
49
+extern void *mcheckirq_ctx[NR_CPUS];
5750 #endif
5851
5952 /*
6053 * Per-cpu stacks for handling hard and soft interrupts.
6154 */
62
-extern struct thread_info *hardirq_ctx[NR_CPUS];
63
-extern struct thread_info *softirq_ctx[NR_CPUS];
55
+extern void *hardirq_ctx[NR_CPUS];
56
+extern void *softirq_ctx[NR_CPUS];
6457
65
-extern void irq_ctx_init(void);
66
-extern void call_do_softirq(struct thread_info *tp);
67
-extern void call_do_irq(struct pt_regs *regs, struct thread_info *tp);
58
+void call_do_softirq(void *sp);
59
+void call_do_irq(struct pt_regs *regs, void *sp);
6860 extern void do_IRQ(struct pt_regs *regs);
6961 extern void __init init_IRQ(void);
7062 extern void __do_irq(struct pt_regs *regs);