Skip to content

Commit

Permalink
sparc64: remove macro indirection in io_64.h
Browse files Browse the repository at this point in the history
Most likely for historical reasons io_64.h used an
extra layer of macro indirections.

Fix it so we no longer use these indirections.
In the process we loose a cast to the addr argument for in*()/out*()
but all known affected users has already been fixed so
no warnings are triggered.

For each of the IO functions add a proper define like this:

    #define inb inb

This is done to make the code compatible with the way these
functions are defined in asm-generic/io.h with the objective
to later introduce the generic io.h for sparc64.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Jul 22, 2014
1 parent 6b8b550 commit 79294d7
Showing 1 changed file with 66 additions and 89 deletions.
Loading

0 comments on commit 79294d7

Please sign in to comment.