Re: [patch] export symbol for panic_notifier_list

Andreas Dilger (adilger@clusterfs.com)
Thu, 22 Aug 2002 12:56:21 -0600


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/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/