OSDN Git Service

cacheflush.c: compile only if __NR_cacheflush is available
authorPeter S. Mazinger <ps.m@gmx.net>
Tue, 5 Apr 2011 14:29:53 +0000 (16:29 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:35 +0000 (14:00 +0200)
commit8f6fc2576cadc5d1d3ea8fcbae78096ba81a847f
treedd5ce5684ff05ca5db3fe20c6609ad939082b2f8
parentb3c8238912971355ac3c6534ef7641af6b8fc168
cacheflush.c: compile only if __NR_cacheflush is available

The header had to be removed under the guard, else asm/cachectl.h might
not be available at all.
While there, disable __cachectl prototype.
Use untyped strong_alias for cacheflush because char * != void *.

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/bfin/cacheflush.c
libc/sysdeps/linux/mips/cacheflush.c
libc/sysdeps/linux/mips/sys/cachectl.h