summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-07-19 12:15:49 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-19 12:15:49 -0300
commitd5a7f418a8998e7989df1f052eced60c9e53302f (patch)
tree2f06a93ddbb7ed1956a004e9164e6e1a3162f862 /v4l
parent2ecefe04ad64a15c713e53b76588c91bb8715a61 (diff)
downloadmediapointer-dvb-s2-d5a7f418a8998e7989df1f052eced60c9e53302f.tar.gz
mediapointer-dvb-s2-d5a7f418a8998e7989df1f052eced60c9e53302f.tar.bz2
[PATCH] irq-flags: media: Use the new IRQF_ constants
From: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index dc100abed..08ac828d6 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -283,6 +283,11 @@ schedule_timeout_interruptible(signed long timeout)
}
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
+#define IRQF_SHARED SA_SHIRQ
+#define IRQF_DISABLED SA_INTERRUPT
+#endif
+
#endif
/*
* Local variables: