]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: fix sparse warning in io-unit.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:25:41 +0000 (23:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:26 +0000 (19:01 -0700)
commitde5fd0959740b5102ab063eb7d6c8bc66ca96a67
tree48b84269991dfa858e1f261f57ff292ba0456230
parentc24be6867c83ae28ae6eef7cb7fafd36b76c599e
sparc32: fix sparse warning in io-unit.c

Fix following warning:
io-unit.c:56:13: warning: incorrect type in assignment (different address spaces)

The page table for the io unit resides in __iomem.
Fix up all users of the io unit page table.
Introduce sbus helers for all read/write operations.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/io-unit.h
arch/sparc/mm/io-unit.c