VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> 2021-06-30 18:54:59 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-07-01 11:06:04 -0700 commit: f39650de687e35766572ac89dbcd16a5911e2f0a parent: 070c46505a265d54eba7f713760fa6ed984f2921
Commit Summary:
kernel.h: split out panic and oops helpers
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/alpha/kernel/setup.c b/arch/alpha/kernel/setup.c
index 5f6858e9dc28..7d56c217b235 100644
--- a/arch/alpha/kernel/setup.c
+++ b/arch/alpha/kernel/setup.c
@@ -28,6 +28,7 @@
 #include <linux/init.h>
 #include <linux/string.h>
 #include <linux/ioport.h>
+#include <linux/panic_notifier.h>
 #include <linux/platform_device.h>
 #include <linux/memblock.h>
 #include <linux/pci.h>
@@ -46,7 +47,6 @@
 #include <linux/log2.h>
 #include <linux/export.h>
 
-extern struct atomic_notifier_head panic_notifier_list;
 static int alpha_panic_event(struct notifier_block *, unsigned long, void *);
 static struct notifier_block alpha_panic_block = {
 	alpha_panic_event,