mirror-linux/include/vdso
Ian Rogers a339671db6 vdso: Switch get/put_unaligned() from packed struct to memcpy()
Type punning is necessary for get/put_unaligned() but the use of a packed
struct violates strict aliasing rules, requiring -fno-strict-aliasing to be
passed to the C compiler.

Switch to using memcpy() so that -fno-strict-aliasing isn't necessary.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20251016205126.2882625-3-irogers@google.com
2026-01-14 08:56:41 +01: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
const.h
datapage.h vdso: Drop Kconfig GENERIC_VDSO_DATA_STORE 2025-09-04 11:23:50 +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/helpers: Add helpers for seqlocks of single vdso_clock 2025-07-09 11:52:34 +02:00
jiffies.h jiffies: Remove obsolete SHIFTED_HZ comment 2025-09-03 11:59:28 +02:00
ktime.h
limits.h
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
time.h
time32.h
time64.h
unaligned.h vdso: Switch get/put_unaligned() from packed struct to memcpy() 2026-01-14 08:56:41 +01:00
vsyscall.h