Reported-by: Heinrich Schuchardt
Signed-off-by: Alejandro Colomar
---
man2/cacheflush.2 | 24
1 file changed, 24 insertions(+)
diff --git a/man2/cacheflush.2 b/man2/cacheflush.2
index aba625721..7a2eed506 100644
--- a/man2/cacheflush.2
+++ b/man2/cacheflush.2
@@ -86,6
Signed-off-by: Alejandro Colomar
---
Hi Michael,
Please apply this patch after
'[PATCH v5] cacheflush.2: Document __builtin___clear_cache() as a more
portable alternative'.
Thanks,
Alex
man2/cacheflush.2 | 42 ++
1 file changed, 42
Reported-by: Heinrich Schuchardt
Signed-off-by: Alejandro Colomar
Cc: Martin Sebor
Cc: Dave Martin
---
v6:
- GCC has always exposed 'void *', as Martin Sebor noted.
It's Clang (and maybe others) that (following GCC's docs)
exposed 'char *
/sys/cachectl.h:30:
extern int cacheflush (void *__addr, int __nbytes, int __op) __THROW;
glibc/sysdeps/unix/sysv/linux/csky/sys/cachectl.h:30:
extern int cacheflush (void *__addr, const int __nbytes,
const int __op) __THROW;
Signed-off-by: Alejandro Colomar
---
man2/cachefl
gave to the NOTES from the other thread,
which aren't yet merged (I'll send the patches after the weekend, probably).
Subsections based on:
fadvise64(2)
Can you review this?
Thanks,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.al
vm/llvm-project/blob/414d3dc62c706f41226b0d552210c79f5080df43/compiler-rt/lib/builtins/clear_cache.c#L59
[2]:
https://github.com/llvm/llvm-project/blob/7faf62a80bfc3a9dfe34133681fcc31f8e8d658b/clang/include/clang/Basic/Builtins.def#L583
On 12/12/20 12:52 AM, Heinrich Schuchardt wrote:
> On 12/11/20 10:09 PM, Alejandro Co
Ping
On 12/15/20 2:30 PM, Alejandro Colomar wrote:
> Reported-by: Heinrich Schuchardt
> Signed-off-by: Alejandro Colomar
> Cc: Martin Sebor
> Cc: Dave Martin
> ---
>
> v6:
> - GCC has always exposed 'void *', as Martin Sebor noted.
> It's Clang (an
Ping
On 12/14/20 3:38 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar
> ---
>
> Hi Michael,
>
> Please apply this patch after
> '[PATCH v5] cacheflush.2: Document __builtin___clear_cache() as a more
> portable alternative'.
>
> Thanks
On 12/20/20 9:54 PM, Michael Kerrisk (man-pages) wrote:
> Hi Alex
>
> On 12/14/20 3:38 PM, Alejandro Colomar wrote:
>> Signed-off-by: Alejandro Colomar
>> ---
>>
>> Hi Michael,
>>
>> Please apply this patch after
>> '[PATCH v5] ca
Hi Michael,
On 1/17/21 9:34 PM, Michael Kerrisk (man-pages) wrote:
> Hi Alex,
>
> On 1/16/21 3:56 PM, Alejandro Colomar wrote:
>> Glibc uses 'void *' instead of 'char *'.
>> And the prototype is declared in .
D'oh!
>>
>> ..
>
10 matches
Mail list logo