__ASSEMBLY__ is only defined by the Makefile of the kernel, so this is not really useful for uapi headers (unless the userspace Makefile defines it, too). Let's switch to __ASSEMBLER__ which gets set automatically by the compiler when compiling assembly code. This is a completely mechanical patch (done with a simple "sed -i" statement). Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Thomas Huth <thuth@redhat.com> Link: https://lore.kernel.org/r/20250314071013.1575167-18-thuth@redhat.com Signed-off-by: Michal Simek <michal.simek@amd.com> |
||
|---|---|---|
| .. | ||
| Kbuild | ||
| auxvec.h | ||
| byteorder.h | ||
| elf.h | ||
| posix_types.h | ||
| ptrace.h | ||
| setup.h | ||
| sigcontext.h | ||
| unistd.h | ||