Re: 2.3.21 fails to compile

Jeff Garzik (jgarzik@pobox.com)
Mon, 11 Oct 1999 22:18:24 -0400


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

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.

Jeff

-- 
Custom driver development	|    Never worry about theory as long
Open source programming		|    as the machinery does what it's
				|    supposed to do.  -- R. A. Heinlein
--------------3F09265A6578BD326648F280
Content-Type: text/plain; charset=us-ascii;
 name="patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch"

Index: drivers/char/sysrq.c =================================================================== RCS file: /g/cvslan/linux_2_3/drivers/char/sysrq.c,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 sysrq.c --- drivers/char/sysrq.c 1999/10/07 08:57:40 1.1.1.3 +++ drivers/char/sysrq.c 1999/10/12 02:17:47 @@ -33,6 +33,8 @@ extern int console_loglevel; extern struct vfsmount *vfsmntlist; +int sysrq_enabled = 1; + /* Send a signal to all user processes */ static void send_sig_all(int sig, int even_init)

--------------3F09265A6578BD326648F280--

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