Re: [RFC][PATCHES] asm/unaligned.h removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 01, 2024 at 08:51:07PM +0100, Al Viro wrote:
> 	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.

Second largest, actually - asm/io.h has more users (1035 vs. 825).
Top twelve by number of includes:
	1035 asm/io.h
	825 asm/unaligned.h   
	767 asm/page.h
	490 asm/processor.h
	482 asm/irq.h
	475 asm/cacheflush.h
	423 asm/ptrace.h
	402 asm/setup.h
	287 asm/tlbflush.h
	284 asm/sections.h
	237 asm/mmu_context.h
	205 asm/smp.h

Still, asm/io.h has a lot more reasons to be heavily arch-dependent...




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux