Messages in this thread Patches in this message | | | Date | Tue, 12 Oct 1999 05:03:34 -0700 | From | John Kennedy <> | Subject | sysrq_enabled MIA: drivers/char/keyboard.c (was Re: 2.3.21 fails to compile) |
| |
On Mon, Oct 11, 1999 at 10:18:24PM -0400, Jeff Garzik wrote: > Michael Harnois wrote: > > > > kernel/kernel.o(.data+0x1460): undefined reference to `sysrq_enabled' > > drivers/char/char.o: In function `handle_scancode': > > drivers/char/char.o(.text+0xb614): undefined reference to `sysrq_enabled' > > I noticed that was removed... this patch got me going. ... [patch against drivers/char/sysrq.c deleted]
It looks like drivers/char/keyboard.c is where it is missing from:
[diff -u linux-2.3.2[01]/drivers/char/keyboard.c] --- linux-2.3.20/drivers/char/keyboard.c Thu Aug 26 13:50:37 1999 +++ linux-2.3.21/drivers/char/keyboard.c Mon Oct 11 10:15:40 1999 @@ -32,6 +32,7 @@ #include <linux/string.h> #include <linux/random.h> #include <linux/init.h> +#include <linux/module.h> #include <asm/keyboard.h> #include <asm/bitops.h> @@ -155,7 +156,6 @@ #ifdef CONFIG_MAGIC_SYSRQ static int sysrq_pressed; -int sysrq_enabled = 1; #endif /*
--- ./drivers/char/keyboard.c.OLD Mon Oct 11 10:15:40 1999 +++ ./drivers/char/keyboard.c Tue Oct 12 04:50:23 1999 @@ -156,6 +156,7 @@ #ifdef CONFIG_MAGIC_SYSRQ static int sysrq_pressed; +int sysrq_enabled = 1; #endif /*[unhandled content-type:application/pgp-signature] | |