* [patch] export symbol for panic_notifier_list
@ 2002-08-22 14:46 Corey Minyard
2002-08-22 18:56 ` Andreas Dilger
0 siblings, 1 reply; 2+ messages in thread
From: Corey Minyard @ 2002-08-22 14:46 UTC (permalink / raw)
To: linux-kernel, Linus Torvalds
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
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
[-- Attachment #2: linux-export_panic_list.diff --]
[-- Type: text/plain, Size: 274 bytes --]
--- linux.orig/kernel/ksyms.c Thu Aug 22 08:20:26 2002
+++ linux/kernel/ksyms.c Thu Aug 22 09:03:01 2002
@@ -492,6 +492,7 @@
/* misc */
EXPORT_SYMBOL(panic);
+EXPORT_SYMBOL(panic_notifier_list);
EXPORT_SYMBOL(sprintf);
EXPORT_SYMBOL(snprintf);
EXPORT_SYMBOL(sscanf);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] export symbol for panic_notifier_list
2002-08-22 14:46 [patch] export symbol for panic_notifier_list Corey Minyard
@ 2002-08-22 18:56 ` Andreas Dilger
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Dilger @ 2002-08-22 18:56 UTC (permalink / raw)
To: Corey Minyard; +Cc: linux-kernel, Linus Torvalds
On Aug 22, 2002 09:46 -0500, Corey Minyard wrote:
> 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.
> --- linux.orig/kernel/ksyms.c Thu Aug 22 08:20:26 2002
> +++ linux/kernel/ksyms.c Thu Aug 22 09:03:01 2002
> @@ -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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-22 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-22 14:46 [patch] export symbol for panic_notifier_list Corey Minyard
2002-08-22 18:56 ` Andreas Dilger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox