Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Remove remaining __get_unaligned_cpu32
@ 2026-10-29  9:17 Julian Vetter
  2026-10-29  9:17 ` [PATCH v2 1/2] include/linux/unaligned.h: remove deprecated __get_unaligned_cpuX() helpers Julian Vetter
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Julian Vetter @ 2026-10-29  9:17 UTC (permalink / raw)
  To: Andrew Morton, Arnaldo Carvalho de Melo, Namhyung Kim
  Cc: Arnd Bergmann, Peter Zijlstra, Ingo Molnar, Mark Rutland,
	Alexander Shishkin, Jiri Olsa, Ian Rogers, Adrian Hunter,
	James Clark, linux-perf-users, linux-kernel, Julian Vetter

This is the remainder of my series removing the deprecated
__get_unaligned_cpuX() helpers. Patch 1/5 of the previous version was
already applied as commit 50b4233a22b1 ("include/linux/jhash.h: replace
__get_unaligned_cpu32 in jhash function"), so this version only contains
the remaining patches, rebased onto current master.

There are no users of the helpers left in the tree, so patch 1 removes
include/linux/unaligned/packed_struct.h. Patch 2 does the same for the
tools copy.

Signed-off-by: Julian Vetter <julian@outer-limits.org>
---
Changes in v2:
- Drop patch 1/5 -> already applied
- Squash the three tools patches (3/5, 4/5, 5/5) into one
- Include linux/kernel.h explicitly. It was previously pulled in through
  packed_struct.h
- Also drop the "#pragma GCC diagnostic" in check-headers.sh. The
  pragmas were removed in commit 10a62a0611f5 ("tools headers: Remove
  unneeded ignoring of warnings in unaligned.h")

v1 (RESEND): https://lore.kernel.org/lkml/20250707122500.724699-1-julian@outer-limits.org/
---
Julian Vetter (2):
  include/linux/unaligned.h: remove deprecated __get_unaligned_cpuX()
    helpers
  tools/include/linux/jhash.h: replace __get_unaligned_cpu32 in jhash
    function

 include/linux/unaligned.h                     |  1 -
 include/linux/unaligned/packed_struct.h       | 46 ------------------
 tools/include/linux/jhash.h                   |  9 ++--
 tools/include/linux/unaligned/packed_struct.h | 47 -------------------
 tools/perf/check-headers.sh                   |  2 +-
 5 files changed, 6 insertions(+), 99 deletions(-)
 delete mode 100644 include/linux/unaligned/packed_struct.h
 delete mode 100644 tools/include/linux/unaligned/packed_struct.h


base-commit: c339f4010dea8b0d754f84ace70cd1b089878ef8
-- 
2.53.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-10-29 12:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-29  9:17 [PATCH v2 0/2] Remove remaining __get_unaligned_cpu32 Julian Vetter
2026-10-29  9:17 ` [PATCH v2 1/2] include/linux/unaligned.h: remove deprecated __get_unaligned_cpuX() helpers Julian Vetter
2026-10-29  9:23   ` sashiko-bot
2026-10-29 11:11   ` David Laight
2026-10-29  9:17 ` [PATCH v2 2/2] tools/include/linux/jhash.h: replace __get_unaligned_cpu32 in jhash function Julian Vetter
2026-10-29  9:22   ` sashiko-bot
2026-10-29 12:43 ` [PATCH v2 0/2] Remove remaining __get_unaligned_cpu32 Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox