From d5a7f418a8998e7989df1f052eced60c9e53302f Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 19 Jul 2006 12:15:49 -0300 Subject: [PATCH] irq-flags: media: Use the new IRQF_ constants From: Thomas Gleixner Signed-off-by: Thomas Gleixner Cc: Ingo Molnar Cc: "David S. Miller" Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Mauro Carvalho Chehab --- v4l/compat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'v4l') 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: -- cgit v1.2.3