[patch] export symbol for panic_notifier_list

Corey Minyard (minyard@acm.org)
Thu, 22 Aug 2002 09:46:02 -0500


This is a multi-part message in MIME format.
--------------010301020404080107090403
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------010301020404080107090403
Content-Type: text/plain;
name="linux-export_panic_list.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="linux-export_panic_list.diff"

--- 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);

--------------010301020404080107090403--

-
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/