linux/include/vdso
Thomas Huth 02475538be vdso: 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 standardize now on the __ASSEMBLER__ macro that is provided by the
compilers.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://patch.msgid.link/20260619100600.121042-1-thuth@redhat.com
2026-06-29 15:44:08 +02:00
..
align.h vdso: Introduce vdso/align.h 2025-02-21 09:54:01 +01:00
auxclock.h vdso: Introduce aux_clock_resolution_ns() 2025-07-18 13:45:32 +02:00
bits.h vdso/bits.h: Add BIT_ULL() for the sake of consistency 2023-01-31 14:42:10 +01:00
cache.h vdso: Introduce vdso/cache.h 2025-03-08 14:37:39 +01:00
clocksource.h vdso: Fix clocksource.h macro detection 2020-03-23 18:51:08 +01:00
const.h linux/const.h: Extract common header for vDSO 2020-03-21 15:23:53 +01:00
datapage.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00
futex.h futex: Provide infrastructure to plug the non contended robust futex unlock race 2026-06-03 11:38:52 +02:00
getrandom.h random: vDSO: add a __vdso_getrandom prototype for all architectures 2024-09-13 17:28:35 +02:00
gettime.h vdso: Add prototype for __vdso_clock_getres_time64() 2026-01-13 14:42:23 +01:00
helpers.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00
jiffies.h jiffies: Remove obsolete SHIFTED_HZ comment 2025-09-03 11:59:28 +02:00
ktime.h linux/ktime.h: Extract common header for vDSO 2020-03-21 15:23:59 +01:00
limits.h linux/limits.h: Extract common header for vDSO 2020-03-21 15:23:54 +01:00
math64.h vdso, math64: Provide mul_u64_u32_add_u64_shr() 2024-04-08 15:03:07 +02:00
page.h vdso: Correct typo in PAGE_SHIFT comment 2025-01-15 11:07:08 +01:00
processor.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00
time.h linux/time.h: Extract common header for vDSO 2020-03-21 15:23:57 +01:00
time32.h linux/time32.h: Extract common header for vDSO 2020-03-21 15:23:57 +01:00
time64.h time64.h: Consolidated PSEC_PER_SEC definition 2021-04-06 16:32:17 -07:00
unaligned.h vdso: Switch get/put_unaligned() from packed struct to memcpy() 2026-01-14 08:56:41 +01:00
vsyscall.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00