Re: [RFC] Splitting kernel headers and deprecating __KERNEL__

Arnd Bergmann
2004-11-28T13:39:14Z

[-- Attachment #1: Type: text/plain, Size: 1264 bytes --]

On Sünndag 28 November 2004 01:55, ak@muc.de wrote:
> Please don't do that. x86_64 are not really synchronized in development
> (unlike s390/s390x) and I don't really want too coordinate too much
> with the i386 people when I change something in asm. There are also
> significant differences in some places already.
> Keep it separate is imho far better.
>
The ABI is actually a very small part of the asm/ files [1] and typically
one that does not see many changes. I found 5 files (fcntl.h ioctl.h
siginfo.h statfs.h types.h) that have trivial differences between i386
and x86_64 and can be merged, as well as 6 files (posix_types.h ptrace.h
sigcontext.h signal.h stat.h unistd.h) that are so different that it
makes sense to keep them completely separate files with an extra file
to choose between them.

The rest is either not part of the ABI or already identical.

Arnd <><

[1] A quick browse over the files suggests we need only:
errno.h fcntl.h ioctl.h ioctls.h ipc.h ipcbuf.h msgbuf.h
param.h poll.h posix_types.h ptrace.h resource.h sembuf.h
shmbuf.h shmparam.h sigcontext.h siginfo.h signal.h
socket.h sockios.h stat.h statfs.h termbits.h termios.h
types.h unistd.h

If anyone has a better list, please post it.

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]