Commit 52e3e772 authored by Andrew Victor's avatar Andrew Victor Committed by Russell King

[ARM] 3631/1: Remove legacy __mem_isa() definitions

Patch from Andrew Victor

Remove the remaining legacy __mem_isa() definitions for the ARM
platforms.
Signed-off-by: default avatarAndrew Victor <andrew@sanpeople.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent fc8ea7a1
...@@ -16,6 +16,5 @@ ...@@ -16,6 +16,5 @@
*/ */
#define __io(a) ((void __iomem *)(a)) #define __io(a) ((void __iomem *)(a))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif #endif
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#define __io(a) ((void __iomem *)(a)) #define __io(a) ((void __iomem *)(a))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
/* /*
* We don't support ins[lb]/outs[lb]. Make them fault. * We don't support ins[lb]/outs[lb]. Make them fault.
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#define __io(a) ((void __iomem *)(PCIO_BASE + (a))) #define __io(a) ((void __iomem *)(PCIO_BASE + (a)))
#if 1 #if 1
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) ((a) + PCIMEM_BASE)
#else #else
static inline void __iomem *___mem_pci(void __iomem *p) static inline void __iomem *___mem_pci(void __iomem *p)
...@@ -34,14 +33,7 @@ static inline void __iomem *___mem_pci(void __iomem *p) ...@@ -34,14 +33,7 @@ static inline void __iomem *___mem_pci(void __iomem *p)
return p; return p;
} }
static inline void __iomem *___mem_isa(void __iomem *p)
{
unsigned long a = (unsigned long)p;
BUG_ON(a >= 16*1048576);
return p + PCIMEM_BASE;
}
#define __mem_pci(a) ___mem_pci(a) #define __mem_pci(a) ___mem_pci(a)
#define __mem_isa(a) ___mem_isa(a)
#endif #endif
#endif #endif
...@@ -32,6 +32,5 @@ ...@@ -32,6 +32,5 @@
#define __io(a) ((void __iomem *)(PCI_IO_VADDR + (a))) #define __io(a) ((void __iomem *)(PCI_IO_VADDR + (a)))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) ((a) + PCI_MEMORY_VADDR)
#endif #endif
...@@ -17,6 +17,5 @@ ...@@ -17,6 +17,5 @@
#define __io(p) ((void __iomem *)(p)) #define __io(p) ((void __iomem *)(p))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif #endif
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
*/ */
#define __io_pci(a) ((void __iomem *)(PCIO_BASE + (a))) #define __io_pci(a) ((void __iomem *)(PCIO_BASE + (a)))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#define __ioaddr(p) __io_pci(p) #define __ioaddr(p) __io_pci(p)
......
...@@ -18,6 +18,5 @@ ...@@ -18,6 +18,5 @@
/* No ISA or PCI bus on this machine. */ /* No ISA or PCI bus on this machine. */
#define __io(a) ((void __iomem *)(a)) #define __io(a) ((void __iomem *)(a))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif /* __ASM_ARCH_IO_H */ #endif /* __ASM_ARCH_IO_H */
...@@ -24,6 +24,5 @@ ...@@ -24,6 +24,5 @@
#define __io(a) ((void __iomem *)(a)) #define __io(a) ((void __iomem *)(a))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif #endif
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
*/ */
#define __io(a) ((void __iomem *)(PCIO_BASE + (a))) #define __io(a) ((void __iomem *)(PCIO_BASE + (a)))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
/* /*
* ---------------------------------------------------------------------------- * ----------------------------------------------------------------------------
......
...@@ -16,6 +16,5 @@ ...@@ -16,6 +16,5 @@
*/ */
#define __io(a) ((void __iomem *)(a)) #define __io(a) ((void __iomem *)(a))
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif #endif
...@@ -29,6 +29,5 @@ static inline void __iomem *__io(unsigned long addr) ...@@ -29,6 +29,5 @@ static inline void __iomem *__io(unsigned long addr)
#define __io(a) __io(a) #define __io(a) __io(a)
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif #endif
...@@ -22,6 +22,5 @@ static inline void __iomem *__io(unsigned long addr) ...@@ -22,6 +22,5 @@ static inline void __iomem *__io(unsigned long addr)
} }
#define __io(a) __io(a) #define __io(a) __io(a)
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif #endif
...@@ -28,6 +28,5 @@ static inline void __iomem *__io(unsigned long addr) ...@@ -28,6 +28,5 @@ static inline void __iomem *__io(unsigned long addr)
} }
#define __io(a) __io(a) #define __io(a) __io(a)
#define __mem_pci(a) (a) #define __mem_pci(a) (a)
#define __mem_isa(a) (a)
#endif #endif
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