Re: RFC: Testing for kernel features in external modules

From: Gerd Knorr
Date: Thu Jun 24 2004 - 16:45:42 EST


Andreas Dilger <adilger@xxxxxxxxxxxxx> writes:

> Ideally, when people make an incompatible kernel API change like this
> they would just #define HAVE_REMAP_PAGE_RANGE_VMA in the header that
> declares remap_page_range() directly (e.g. KERNEL_AS_O_DIRECT was added
> for this reason) instead of external builds having to figure this out
> themselves. Adding the check script is no less work than just adding
> the #define to the appropriate header directly.

I fully agree here, just having #defines for kernel features (which
can't be detected otherwise) is much easier.

Ge- "#define HAVE_V4L2 1" rd

--
2004-06-24: Switched mail/news setup to a new machine. If something
is unusual/strange/broken/whatever feel free to drop me a note.
=> kraxel@xxxxxxxxxxx
-
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/