why so many unexported headers checking __KERNEL__?

From: Robert P. J. Day
Date: Sun Mar 23 2008 - 02:32:23 EST



as an unintended side effect of checking for proper exporting to
user space and unifdef'ing, i noticed that there are literally
hundreds of kernel header files that check the value of __KERNEL__ in
some way, but are never exported to user space. what's the point of
that? thanks.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--
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/