summaryrefslogtreecommitdiff
path: root/tools/include/linux
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-10-16 13:51:24 -0700
committerThomas Gleixner <tglx@kernel.org>2026-01-14 08:56:41 +0100
commita339671db64b12bb02492557d2b0658811286277 (patch)
tree574f8370f2eb90a5a92c0aad5d8d96d2f37fb407 /tools/include/linux
parentdf0f9a664be55a8529362a1ada847a19a91e4807 (diff)
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
Diffstat (limited to 'tools/include/linux')
0 files changed, 0 insertions, 0 deletions