lkml.org 
[lkml]   [1999]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
Subjectsysrq_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]
\
 
 \ /
  Last update: 2005-03-22 13:54    [W:3.224 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site