From mboxrd@z Thu Jan 1 00:00:00 1970 From: rpjday@crashcourse.ca (Robert P. J. Day) Date: Fri, 27 May 2016 12:08:09 -0400 (EDT) Subject: why is there still so much __KERNEL__ testing in include/uapi/? Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org continuing down this road of exporting kernel headers, under include/uapi/ (and mostly further under linux/), there's still a *ton* of testing of the __KERNEL__ preprocessor check. now, i realize that when one does "make headers_install", all those files are run through "unifdef" to sanitize almost all of that kernel content, so it's not like it hurts, but is there any reason so much of it is still there? wouldn't it be tidier to get rid of it? or is there some rationale for leaving it there? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================