Commit 73007d9b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ne2k-pci.c compile fix on ppc[64]

From: Rusty Russell <rusty@rustcorp.com.au>

These macros are redefined here.  Previously definitions are in
asm-ppc(64)/io.h
parent 64ea79c7
...@@ -69,8 +69,6 @@ KERN_INFO " http://www.scyld.com/network/ne2k-pci.html\n"; ...@@ -69,8 +69,6 @@ KERN_INFO " http://www.scyld.com/network/ne2k-pci.html\n";
#if defined(__powerpc__) #if defined(__powerpc__)
#define inl_le(addr) le32_to_cpu(inl(addr)) #define inl_le(addr) le32_to_cpu(inl(addr))
#define inw_le(addr) le16_to_cpu(inw(addr)) #define inw_le(addr) le16_to_cpu(inw(addr))
#define insl insl_ns
#define outsl outsl_ns
#endif #endif
#define PFX DRV_NAME ": " #define PFX DRV_NAME ": "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment