[LTP] (no subject)
Cyril Hrubis
chrubis@suse.cz
Fri Apr 26 10:36:26 CEST 2024
Hi!
> Some of your point has been fixed. Some are not:
> 1. I'm using gcc (GCC) 11.4.1 20230605, `addr` without initialization would output some warnings.
> 2. I read the manpage of arch_prctl, the ARCH_GET_CPUID seems return the flag, instead of storing `addr`:
> ```
> ARCH_GET_CPUID (since Linux 4.12)
> Return the setting of the flag manipulated by ARCH_SET_CPUID as the result of the system call (1 for enabled, 0 for
> disabled). addr is ignored.
> ```
Ah right, if addr is ignored just pass NULL there instead.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list