Re: [PATCH] add BUG_ON to 2.4 #1

From: John Levon (movement@marcelothewonderpenguin.com)
Date: Fri Jan 25 2002 - 22:17:33 EST


On Fri, Jan 25, 2002 at 06:14:05PM -0500, Robert Love wrote:

> The following patch adds the BUG_ON (as seen on TV and 2.5) define to
> the 2.4 kernel. This will help in portability and back-porting from 2.5
> to 2.4, plus BUG_ON is a nice optimization and aids readability.

I mentioned earlier today we need someone to step up and write a kcompat.h
for 2.5 stuff like minor() and the new remap_page_range().

I'll have to do this anyway for the stuff I use (I already have oodles of
2.2 stuff) but it would be nice to be able to use a "standard" header (and .c
if necessary)

regards
john

-- 
"ALL television is children's television."
	- Richard Adler 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:39 EST