]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'sparc32_generic_io_h'
authorDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2014 05:30:28 +0000 (01:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2014 05:30:28 +0000 (01:30 -0400)
commitbf6569988a483b5bfa382bad4360460cf4ad8b12
tree5ed5b236de9b3a575319bbfe84f8e52ba1b0ddee
parent8cf749a8f506b06ebbf090709d64e81af519184b
parentc3373da90bf43b6018c32781b642070b1eeaaebe
Merge branch 'sparc32_generic_io_h'

Sam Ravnborg says:

====================
sparc32: introduce asm-generic

Inspired by Michal Simek <monstr@monstr.eu> this patch-set
introduces asm-generic/io.h for sparc32.

As the diff-stat tells this was a nice code-reduction.

The changes are done on top of the previous sent sparse warning cleanup.
But I do not expect any difficult conflicts if applied alone.

leon_pci + pcic are touched because they had local
and identical implementations of functiones that are
static inline in asm-generic/io.h

leon_pci_grpci1 + leon_pci_grpci2 are touched becuse they
used a sparc spacific implmentation of swab32.
They have just been changed to use the global variant.

I also looked at sparc64 - but there were to many
sparc64 assembler implementations of the io
functons - and the generic io.h did not support this mix.

The last patch kills a few defines in io.h for sbus.
I assume they were introduced before the functions
were all shifted over to __iomem style pointers.
The same could be done for sparc64 - but then
there were even more of the same so I left
this for another time.

The patch-set has been build tested only.
My attempts to test this using qemu have failed as
the qemu version I have errors out.
And my fedora box are mssing some libs to build
qemu from source :-(
====================

Signed-off-by: David S. Miller <davem@davemloft.net>