Re: [PATCH v2 4/5] powerpc/audit: directly include unistd_32.h from compat_audit.c
"Arnd Bergmann" <[email protected]>
| Newsgroups | org.kernel.vger.sparclinux,org.kernel.vger.linux-arch,org.kernel.vger.linux-kernel,org.kernel.vger.linux-s390,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 2, 2026, at 08:58, Thomas Weißschuh wrote: > This source file undefines '__powerpc64__' to get the 32-bit system call > numbers from asm/unistd.h. However this symbol is also evaluated by > other headers, among them is asm/bitsperlong.h. The undefinition leads > to an inconsistency between __BITS_PER_LONG and the C type 'long'. > An upcoming consistency check will be tripped by this. > > Directly include asm/unistd_32.h to get access to the 32-bit system call > numbers instead. > > Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]>