export symbol for panic_notifier_list
PATCH 1/1 export symbol for panic_notifier_list
If a module needs to be notified of a panic, well, it needs to get at the notifier list, but that's not exported. patch is attached.
Thanks,
-Corey
kernel/ksyms.c +1 -0
@@ -492,6 +492,7 @@/* misc */ EXPORT_SYMBOL (panic); +EXPORT_SYMBOL (panic_notifier_list);EXPORT_SYMBOL (sprintf);EXPORT_SYMBOL (snprintf);EXPORT_SYMBOL (sscanf);
Quoted 2 lines · Corey Minyard
If a module needs to be notified of a panic, well, it needs to get at the notifier list, but that's not exported. patch is attached.
Excellent, we have this in our private kernel patch as well.
kernel/ksyms.c line 498
Quoted 10 lines
kernel/ksyms.c +1
-0@@ -492,6 +492,7 @@/* misc */ EXPORT_SYMBOL (panic); +EXPORT_SYMBOL (panic_notifier_list);EXPORT_SYMBOL (sprintf);EXPORT_SYMBOL (snprintf);EXPORT_SYMBOL (sscanf);
Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/