Re: [RFC][PATCH 0/2] KABI example conversion and cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kyle Moffett wrote:
On Mar 26, 2006, at 08:29:49, Avi Kivity wrote:
Kyle Moffett wrote:
Well I guess you could call it UABI, but that might also imply that it's _userspace_ that defines the interface, instead of the kernel. Since the headers themselves are rather tightly coupled with the kernel, I think I'll stick with the KABI name for now (unless somebody can come up with a better one, of course :-D).

How about __linux, or __linux_abi? There are ABIs for other components, and other OSes. Linux is the name of the project after all.

The other thing that I quickly noticed while writing up the patches is that it's kind of tedious typing __kabi_ over and over again. I actually did first try with __linux_abi_ but the typing effort and finger cramps made me give up on that really quickly.
#define _LA(x) __linux_abi_##x

struct _LA(whatever) {
   int foo;
   int bar;
};

struct _LA(another) {
   ...
};

#undef _LA

?

--
error compiling committee.c: too many arguments to function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux