linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCHES] asm/unaligned.h removal
@ 2024-10-01 19:51 Al Viro
  2024-10-01 19:51 ` [PATCH 1/3] parisc: get rid of private asm/unaligned.h Al Viro
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Al Viro @ 2024-10-01 19:51 UTC (permalink / raw)
  To: linux-arch; +Cc: Linus Torvalds, linux-parisc, Vineet Gupta

	There are only two instances of asm/unaligned.h in the tree -
arc and parisc.  Everything else picks it from asm-generic/unaligned.h
and if not these two, we could just move asm-generic/unaligned.h into
include/linux/unaligned.h and do a tree-wide search-and-replace that
would kill the largest class of asm/*.h includes in the entire kernel.

	Turns out, arc and parisc asm/unaligned.h are very close to
being straight #include <asm-generic/unaligned.h> themselves.  The
following series massages them away.

	It can be found in
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #work.headers.unaligned
Three commits - dealing with parisc, dealing with arc and autogenerated
search-and-replace job (that would obviously be better off done by
Linus at the next -rc1).

	Individual patches in followups (the last one - just the commit
message with script for reproducing the damn thing; the diff itself is
just under 12K lines, <asm/unaligned.h> being the most widely include
asm/*.h in the entire tree).

	Please, review.  I don't really care which tree(s) does that stuff
go through; I can put the first two in my #for-next, as long as nobody
has objections to the patches themselves.

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

end of thread, other threads:[~2024-10-03  0:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-01 19:51 [RFC][PATCHES] asm/unaligned.h removal Al Viro
2024-10-01 19:51 ` [PATCH 1/3] parisc: get rid of private asm/unaligned.h Al Viro
2024-10-02  0:57   ` Helge Deller
2024-10-02  3:23     ` Al Viro
2024-10-02  8:10   ` Rolf Eike Beer
2024-10-01 19:53 ` [PATCH 2/3] arc: " Al Viro
2024-10-02 21:03   ` Vineet Gupta
2024-10-02 21:24     ` Al Viro
2024-10-01 19:54 ` [PATCH 3/3] move asm/unaligned.h to linux/unaligned.h Al Viro
2024-10-01 20:34 ` [RFC][PATCHES] asm/unaligned.h removal Al Viro
2024-10-02 18:33 ` Linus Torvalds
2024-10-02 22:17   ` Al Viro
2024-10-02 23:36     ` [git pull] " Al Viro
2024-10-03  0:04       ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).