which header for local_irq_save? (was Re: [PATCH update] ieee1394:cycle timer read extension for raw1394/libraw1394)

From: Stefan Richter
Date: Sat Feb 03 2007 - 09:04:14 EST


I wrote:
> --- linux.orig/drivers/ieee1394/ieee1394_core.c 2007-01-27 14:07:00.000000000 +0100
> +++ linux/drivers/ieee1394/ieee1394_core.c 2007-02-03 13:47:33.000000000 +0100
> @@ -33,6 +33,9 @@
> #include <linux/skbuff.h>
> #include <linux/suspend.h>
> #include <linux/kthread.h>
> +#include <linux/irqflags.h>
> +#include <linux/preempt.h>
> +#include <linux/time.h>
>
> #include <asm/byteorder.h>
>

Is <linux/irqflags.h> the correct header for local_irq_save/
local_irq_restore? It seems to be <asm/system.h> under Linux 2.6.16 but
I'm not sure about later kernels.
--
Stefan Richter
-=====-=-=== --=- ---==
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/