diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-04-22 22:34:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-22 22:34:41 +0000 |
commit | ae038dcdea648887ee37dbfab87768a5ec1df6fa (patch) | |
tree | c25c947a9c0712747b5093790c844266c1379230 | |
parent | 899d809bca0cbe61a18b376dafdfcdb578324a9e (diff) | |
parent | 9b9371bd0e5bd223333758057dd8ac211a4290af (diff) | |
download | bionic-ae038dcdea648887ee37dbfab87768a5ec1df6fa.tar.gz |
Merge "Replace commented-out deprecated attribute with doc comment." into main
-rw-r--r-- | libc/include/unistd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/include/unistd.h b/libc/include/unistd.h index c69db615c..273221432 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -350,8 +350,11 @@ long syscall(long __number, ...); int daemon(int __no_chdir, int __no_close); #if defined(__arm__) +/** + * New code should use __builtin___clear_cache() instead, which works on + * all architectures. + */ int cacheflush(long __addr, long __nbytes, long __cache); - /* __attribute__((deprecated("use __builtin___clear_cache instead"))); */ #endif pid_t tcgetpgrp(int __fd); |