xen: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files
authorThomas Huth <thuth@redhat.com>
Fri, 19 Jun 2026 11:45:47 +0000 (13:45 +0200)
committerJuergen Gross <jgross@suse.com>
Wed, 1 Jul 2026 07:49:52 +0000 (09:49 +0200)
commit26d060ba39354eec0345fb73b5f8309edd6ec82c
tree4edc318cd7be84d7f13c7d29fd8b70509e1c065a
parentd33846c8dcc06b83b7acdeac1e8bfbb5c0c26cb2
xen: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files

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.

This is a completely mechanical patch (done with a simple "sed -i"
statement).

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: <20260619114547.159637-1-thuth@redhat.com>
include/xen/interface/xen-mca.h
include/xen/interface/xen.h