[RFC,PATCH 3/3] arm: remove machine_desc.io_pg_offst and .phys_io

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jul 22 07:42:58 EDT 2010


On Wed, Jul 14, 2010 at 10:09:37AM +0800, Jeremy Kerr wrote:
> Since we're now using addruart to establish the debug mapping, we can
> remove the io_pg_offst and phys_io members of struct machine_desc.

BTW, it'd probably make more sense to do this as a script, something
like this (untested):

grep -rl MACHINE_START arch/arm | xargs --no-run-if-empty \
  sed -i '/MACHINE_START/,/MACHINE_END/ { /\.(phys_io|io_pg_offst)/d }'

as over time the number of boards, etc, will change, and there's already
context changes with these patches caused by the memblock stuff.



More information about the linux-arm-kernel mailing list