• S
    sparc64: remove macro indirection in io_64.h · 79294d7e
    Sam Ravnborg 提交于
    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: NSam Ravnborg <sam@ravnborg.org>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    79294d7e
io_64.h 12.4 KB