OSDN Git Service

eventfd.h: Use new "bits/" scheme for arch-specific flags
authorHiroaki KAWAI <kawai@stratosphere.co.jp>
Fri, 19 Apr 2013 01:09:35 +0000 (10:09 +0900)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 7 Jun 2013 11:53:13 +0000 (13:53 +0200)
commitfd355bc1dbcb794ae1abf0fad1459e28d8567ba0
treef4db292141fedbbf45d76e4eb2be372de354f9ea
parentb57e9640db53166c88cdac66b79a046e46b8d728
eventfd.h: Use new "bits/" scheme for arch-specific flags

As in timerfd.h, eventfd.h needs arch-specific definition files.
alpha, mips and sparc needs separate file, all the other arch
will use common definition.

This problem is already fixed in glibc.

Also sanitize and provide bits for hppa.
Make sure not to install the new bits/eventfd unless eventfd support is
enabled.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Makefile.in
libc/sysdeps/linux/alpha/bits/eventfd.h [new file with mode: 0644]
libc/sysdeps/linux/common/bits/eventfd.h [new file with mode: 0644]
libc/sysdeps/linux/common/sys/eventfd.h
libc/sysdeps/linux/hppa/bits/eventfd.h [new file with mode: 0644]
libc/sysdeps/linux/mips/bits/eventfd.h [new file with mode: 0644]
libc/sysdeps/linux/sparc/bits/eventfd.h [new file with mode: 0644]