[PATCH 0/6] Cleanup of mach/io.h

Eric Miao eric.y.miao at gmail.com
Wed Jun 23 07:52:12 EDT 2010


Some definitions can be made common, like IO_SPACE_LIMIT, some can
be removed, e.g. __mem_isa(), and some can be made into a machine
specific call, e.g. arch_adjust_zones()

Many mach/io.h can actually be safely removed, except for the
following definitions:

	__io()

and
	__arch_ioremap(), __arch_iounmap() and so on

__io() in the end can be made generic into something like:

#define __io(x)		((x) - physical_address_of_IO_space +
			       virtual_base)

and __arch_ioremap(), __arch_iounmap() made into machine specific
function (again?)




More information about the linux-arm-kernel mailing list