kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* why is there still so much __KERNEL__ testing in include/uapi/?
@ 2016-05-27 16:08 Robert P. J. Day
  2016-05-27 17:58 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Robert P. J. Day @ 2016-05-27 16:08 UTC (permalink / raw)
  To: kernelnewbies


  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
========================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-28  9:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-27 16:08 why is there still so much __KERNEL__ testing in include/uapi/? Robert P. J. Day
2016-05-27 17:58 ` Greg KH
2016-05-27 20:00   ` Robert P. J. Day
2016-05-28  9:51   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).