]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: Convert mmu_* interfaces from btfixup to method ops.
authorDavid S. Miller <davem@davemloft.net>
Sun, 13 May 2012 20:57:05 +0000 (13:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 May 2012 20:57:05 +0000 (13:57 -0700)
commit1b6782600572a900477777eb80b414ea5ef6b885
treecb34a4346407f98e2d2d0ec272b3aeb6f7b84ab5
parent60792610f8bbcb24453e8bd26a57dcdf6af23c5c
sparc32: Convert mmu_* interfaces from btfixup to method ops.

This set of changes displays one major danger of btfixup, interface
signatures are not always type checked fully.  As seen here the iounit
variant of the map_dma_area routine had an incorrect type for one of
it's arguments.

It turns out to be harmless in this case, but just imagine trying to
debug something involving this kind of problem.  No thanks.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/dma.h
arch/sparc/kernel/ioport.c
arch/sparc/kernel/sparc_ksyms_32.c
arch/sparc/mm/io-unit.c
arch/sparc/mm/iommu.c