From: Adrian Bunk <bunk@fs.tum.de>
To: R.E.Wolff@BitWizard.nl
Cc: linux-kernel@vger.kernel.org
Subject: [2.5 patch] #include interrupt.h in epca.c and generic_serial.c
Date: Fri, 10 Jan 2003 14:46:14 +0100 [thread overview]
Message-ID: <20030110134614.GK6626@fs.tum.de> (raw)
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>
reply other threads:[~2003-01-10 13:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030110134614.GK6626@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=R.E.Wolff@BitWizard.nl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome