* [2.5 patch] #include interrupt.h in epca.c and generic_serial.c
@ 2003-01-10 13:46 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-01-10 13:46 UTC (permalink / raw)
To: R.E.Wolff; +Cc: linux-kernel
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-10 13:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 13:46 [2.5 patch] #include interrupt.h in epca.c and generic_serial.c Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.