lkml.org 
[lkml]   [2001]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
On Fri, 17 Aug 2001, André Dahlqvist wrote:

> I have come across what might be a problem and what might be
> completely harmless. I have noticed that when I configure my kernel in
> a certain way (the config file is attached) 'make dep' produces these
> errors while it is being run (these are just the errors, normal output
> is omitted):

Dear Gods, not another of Linus's "holiday presents". These are for the
Sparc32 port, I came across one earlier and here's a slightly modified
patch for drivers/char/vt.c. Original patch came from a l-lk post earlier
(must have missed it, found a reference to it on sparclinux)

--- linux/drivers/char/vt.c.original Fri Aug 17 21:21:47 2001
+++ linux/drivers/char/vt.c Fri Aug 17 22:29:46 2001
@@ -28,7 +28,10 @@

#include <asm/io.h>
#include <asm/uaccess.h>
+
+#if !defined(__sparc__)
#include <asm/keyboard.h>
+#endif

#include <linux/kbd_kern.h>
#include <linux/vt_kern.h>
@@ -499,7 +502,8 @@
#endif

/* Linux m68k/i386 interface for setting the keyboard delay/repeat rate */
-
+
+#if !defined(__sparc__)
case KDKBDREP:
{
struct kbd_repeat kbrep;
@@ -518,6 +522,7 @@
return -EFAULT;
return 0;
}
+#endif

case KDSETMODE:
/*

--
A pancake! I've photocopied a pancake!

http://www.tahallah.demon.co.uk

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

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.118 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site