summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/cacheflush.c
AgeCommit message (Collapse)Author
2012-06-15make arch specific cacheflush, readahead and sysmips LINUX_SPECIFIC dependentPeter S. Mazinger
Remove the related headers. Adapt sh's type to the one used everywhere and add prototype for it. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15cacheflush.c: compile only if __NR_cacheflush is availablePeter S. Mazinger
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>
2011-02-21bfin: add support for new cacheflush syscallSteve Kilbane
Newer gcc's will generate a call to cacheflush when updating jump tables, and that has to be done in kernel space (to avoid hardware anomalies). So make sure uClibc provides that symbol. Signed-off-by: Steve Kilbane <steve@whitecrow.demon.co.uk> Signed-off-by: Mike Frysinger <vapier@gentoo.org>