[parisc-linux-cvs] DIFF 2.4.20 acenic.c
Matthew Wilcox
willy@debian.org
Thu, 14 Nov 2002 12:13:55 +0000
On Wed, Nov 13, 2002 at 11:44:36PM -0700, Grant Grundler wrote:
> What I meant was, I was too lazy to check if all archs in 2.4.19
> (or earlier releases) also defined local_irq_save().
> Which in in fact the case. Sorry.
local_irq_save was introduced sometime during 2.3.x. IMO, this should
be a check for < 0x20400 (since who can support all versions of 2.3.x?)
> Index: drivers/net/acenic.c
> ===================================================================
> RCS file: /var/cvs/linux/drivers/net/acenic.c,v
> retrieving revision 1.18
> retrieving revision 1.19
> diff -u -p -r1.18 -r1.19
> --- drivers/net/acenic.c 13 Nov 2002 15:15:07 -0000 1.18
> +++ drivers/net/acenic.c 14 Nov 2002 06:38:05 -0000 1.19
> @@ -195,7 +195,7 @@ MODULE_DEVICE_TABLE(pci, acenic_pci_tbl)
> #define ace_sync_irq(irq) synchronize_irq()
> #endif
>
> -#if LINUX_VERSION_CODE < 0x2051e
> +#if LINUX_VERSION_CODE < 0x20414
> #define local_irq_save(flags) do{__save_flags(flags) ; \
> __cli();} while(0)
> #define local_irq_restore(flags) __restore_flags(flags)
> _______________________________________________
> parisc-linux-cvs mailing list
> parisc-linux-cvs@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux-cvs
--
Revolutions do not require corporate support.