summaryrefslogtreecommitdiffstats
path: root/drivers/char/sysrq.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-24 00:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-24 00:12:35 +0000
commit482368b1a8e45430672c58c9a42e7d2004367126 (patch)
treece2a1a567d4d62dee7c2e71a46a99cf72cf1d606 /drivers/char/sysrq.c
parente4d0251c6f56ab2e191afb70f80f382793e23f74 (diff)
Merge with 2.3.47. Guys, this is buggy as shit. You've been warned.
Diffstat (limited to 'drivers/char/sysrq.c')
-rw-r--r--drivers/char/sysrq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c
index 6fece9470..7fcbfbb52 100644
--- a/drivers/char/sysrq.c
+++ b/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>
@@ -32,6 +33,8 @@ extern struct vfsmount *vfsmntlist;
/* Machine specific power off function */
void (*sysrq_power_off)(void) = NULL;
+EXPORT_SYMBOL(sysrq_power_off);
+
/* Send a signal to all user processes */
static void send_sig_all(int sig, int even_init)