patch-2.3.47 linux/drivers/char/sysrq.c
Next file: linux/drivers/char/vc_screen.c
Previous file: linux/drivers/char/stallion.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Feb 20 20:37:09 2000
- Orig file:
v2.3.46/linux/drivers/char/sysrq.c
- Orig date:
Sun Nov 7 16:37:34 1999
diff -u --recursive --new-file v2.3.46/linux/drivers/char/sysrq.c linux/drivers/char/sysrq.c
@@ -21,6 +21,7 @@
#include <linux/kbd_kern.h>
#include <linux/quotaops.h>
#include <linux/smp_lock.h>
+#include <linux/module.h>
#include <asm/ptrace.h>
@@ -31,6 +32,8 @@
/* Machine specific power off function */
void (*sysrq_power_off)(void) = NULL;
+
+EXPORT_SYMBOL(sysrq_power_off);
/* Send a signal to all user processes */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)