lkml.org 
[lkml]   [2003]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.5 patch] #include interrupt.h in epca.c and generic_serial.c
The patch below #include's interrupt.h in epca.c and generic_serial.c to 
fix the compilation for !SMP. The proper fix is to remove cli/sti/...
but until fixes are available I consider it better to have this
workaround included.

cu
Adrian

--- linux-2.5.55/drivers/char/epca.c.old 2003-01-10 14:31:20.000000000 +0100
+++ linux-2.5.55/drivers/char/epca.c 2003-01-10 14:32:05.000000000 +0100
@@ -40,6 +40,7 @@
#include <linux/tty_flip.h>
#include <linux/slab.h>
#include <linux/ioport.h>
+#include <linux/interrupt.h> /* for cli/sti/... on !SMP */
#include <asm/uaccess.h>
#include <asm/io.h>

--- linux-2.5.55/drivers/char/generic_serial.c.old 2003-01-10 14:32:13.000000000 +0100
+++ linux-2.5.55/drivers/char/generic_serial.c 2003-01-10 14:32:35.000000000 +0100
@@ -25,6 +25,7 @@
#include <linux/serial.h>
#include <linux/mm.h>
#include <linux/generic_serial.h>
+#include <linux/interrupt.h> /* for cli/sti/... on !SMP */
#include <asm/semaphore.h>
#include <asm/uaccess.h>

-
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 13:32    [W:0.016 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site