Clean up cacheflush.
No cacheflush for LP64; use the GCC builtin instead. Clean up the 32-bit MIPS implementation now we no longer need to worry about old versions of GCC. Bug: 12924756 Change-Id: Ie23955b3ec194e226c4b2bce35b11d5e061f4753
This commit is contained in:
@@ -185,8 +185,10 @@ extern int sysconf(int name);
|
||||
|
||||
extern int daemon(int, int);
|
||||
|
||||
/* A special syscall that is only available on the ARM, not x86 function. */
|
||||
extern int cacheflush(long start, long end, long flags);
|
||||
#if defined(__arm__) || (defined(__mips__) && !defined(__LP64__))
|
||||
extern int cacheflush(long, long, long);
|
||||
/* __attribute__((deprecated("use __builtin___clear_cache instead"))); */
|
||||
#endif
|
||||
|
||||
extern pid_t tcgetpgrp(int fd);
|
||||
extern int tcsetpgrp(int fd, pid_t _pid);
|
||||
|
||||
Reference in New Issue
Block a user