Thread (4 messages) 4 messages, 2 authors, 2012-10-25

puzzled by a couple things related to "uapi"

From: Robert P. J. Day <hidden>
Date: 2012-10-25 19:01:48

On Thu, 25 Oct 2012, Luis R. Rodriguez wrote:
On Thu, Oct 25, 2012 at 11:46 AM, Robert P. J. Day
quoted
  ok, so far, so good.  but then there's this in
include/uapi/linux/coda.h:

... snip ...
#ifdef KERNEL                    <--- ?????
typedef unsigned long u_long;
typedef unsigned int u_int;
typedef unsigned short u_short;
typedef u_long ino_t;
typedef u_long dev_t;
typedef void * caddr_t;
... snip ...
Interesting, not sure. David ? I do see some BSD'ish deps there  (#if
defined(__NetBSD__))... so not sure if that was left to them or what.
quoted
  why is there still kernel-only content in the uapi/ directory?
maybe i just don't understand the rationale for what's going on here.
No, I'm as puzzled.
  there's quite a lot of that sort of thing ... i just did this for
the heck of it:

$ cd include/uapi
$ grep -r "if.*KERNEL" *

and you can see for yourself.

  and i'm still unclear on what the point of "make headers_install" is
anymore, since it does still exist and appears to do much of what it
did before.  doesn't the whole idea of uapi make that target obsolete?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help