Re: git: 94a0f9f63e16 - main - kern/vfs_vnops.c: generalize the lock primitive for file foffset
Date: Fri, 19 Sep 2025 17:25:11 UTC
On 9/19/25 07:19, Konstantin Belousov wrote:
> commit 94a0f9f63e164e4f3791bc7d105d6f267b4d47bc
>
> kern/vfs_vnops.c: generalize the lock primitive for file foffset
>
> + atomic_clear_16(flagsp, lock_bit | lock_wait_bit);
Jenkins says this breaks powerpc64:
/usr/src/sys/kern/vfs_vnops.c:852:2: error: call to undeclared function
'atomic_clear_16'; ISO C99 and later do not support implicit function
declarations [-Werror,-Wimplicit-function-declaration]
852 | atomic_clear_16(flagsp, lock_bit | lock_wait_bit);
| ^
/usr/src/sys/kern/vfs_vnops.c:852:2: note: did you mean 'atomic_clear_int'?
--
Colin Percival
FreeBSD Release Engineering Lead & EC2 platform maintainer
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid