]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xen/arm: Replace __ASSEMBLY__ with __ASSEMBLER__ in interface.h
authorThomas Huth <thuth@redhat.com>
Tue, 21 Apr 2026 14:27:01 +0000 (16:27 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 12 May 2026 15:31:38 +0000 (17:31 +0200)
commit11f152c0acaa924d93339000cb785d34e003aff5
tree1e25847659ca4780d0ad962ce3ceeb41fd570436
parent5d6919055dec134de3c40167a490f33c74c12581
xen/arm: Replace __ASSEMBLY__ with __ASSEMBLER__ in interface.h

While the GCC and Clang compilers already define __ASSEMBLER__
automatically when compiling assembly code, __ASSEMBLY__ is a
macro that only gets defined by the Makefiles in the kernel.
This can be very confusing when switching between userspace
and kernelspace coding, or when dealing with uapi headers that
rather should use __ASSEMBLER__ instead. So let's standardize now
on the __ASSEMBLER__ macro that is provided by the compilers.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260421142701.548978-1-thuth@redhat.com>
include/xen/arm/interface.h