[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0702090023270.24888@yvahk01.tjqt.qr>
Date: Fri, 9 Feb 2007 00:29:06 +0100 (MET)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: linux-kernel@...r.kernel.org
Subject: Re: -mm merge plans for 2.6.21
On Feb 8 2007 15:07, Andrew Morton wrote:
>scheduled-removal-of-sa_xxx-interrupt-flags-fixups.patch
>scheduled-removal-of-sa_xxx-interrupt-flags-fixups-2.patch
>scheduled-removal-of-sa_xxx-interrupt-flags.patch
>scheduled-removal-of-sa_xxx-interrupt-flags-ata-fix.patch
>
> This removes SA_INTERRUPT and friends, so 10000000 external drivers won't
> compile any more. I think I'd prefer to find a way to get usage of SA_* to
> spit a deprecated warning.
Here's an idea:
#define SA_INTERRUPT sa_interrupt_with_warning()
static inline int sa_interrupt_with_warning(void) {
if(more_or_less_often)
printk(fat_warning);
return 0x123456; /* whatever numerical value it is */
}
Jan
--
ft: http://freshmeat.net/p/chaostables/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists