mirror of https://github.com/OpenIPC/firmware.git
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
diff -drupN a/include/linux/interrupt.h b/include/linux/interrupt.h
|
|
--- a/include/linux/interrupt.h 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/include/linux/interrupt.h 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -18,6 +18,7 @@
|
|
#include <linux/atomic.h>
|
|
#include <asm/ptrace.h>
|
|
#include <asm/irq.h>
|
|
+#include <asm/sections.h>
|
|
|
|
/*
|
|
* These correspond to the IORESOURCE_IRQ_* defines in
|
|
@@ -699,7 +700,6 @@ extern int early_irq_init(void);
|
|
extern int arch_probe_nr_irqs(void);
|
|
extern int arch_early_irq_init(void);
|
|
|
|
-#if defined(CONFIG_FUNCTION_GRAPH_TRACER) || defined(CONFIG_KASAN)
|
|
/*
|
|
* We want to know which function is an entrypoint of a hardirq or a softirq.
|
|
*/
|
|
@@ -707,16 +707,4 @@ extern int arch_early_irq_init(void);
|
|
#define __softirq_entry \
|
|
__attribute__((__section__(".softirqentry.text")))
|
|
|
|
-/* Limits of hardirq entrypoints */
|
|
-extern char __irqentry_text_start[];
|
|
-extern char __irqentry_text_end[];
|
|
-/* Limits of softirq entrypoints */
|
|
-extern char __softirqentry_text_start[];
|
|
-extern char __softirqentry_text_end[];
|
|
-
|
|
-#else
|
|
-#define __irq_entry
|
|
-#define __softirq_entry
|
|
-#endif
|
|
-
|
|
#endif
|