aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/io.h')
-rw-r--r--include/asm-powerpc/io.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-powerpc/io.h b/include/asm-powerpc/io.h
index 68efbea379c9..4840fbf89c32 100644
--- a/include/asm-powerpc/io.h
+++ b/include/asm-powerpc/io.h
@@ -37,12 +37,6 @@
37 37
38extern unsigned long isa_io_base; 38extern unsigned long isa_io_base;
39extern unsigned long pci_io_base; 39extern unsigned long pci_io_base;
40extern unsigned long io_page_mask;
41
42#define MAX_ISA_PORT 0x10000
43
44#define _IO_IS_VALID(port) ((port) >= MAX_ISA_PORT || (1 << (port>>PAGE_SHIFT)) \
45 & io_page_mask)
46 40
47#ifdef CONFIG_PPC_ISERIES 41#ifdef CONFIG_PPC_ISERIES
48/* __raw_* accessors aren't supported on iSeries */ 42/* __raw_* accessors aren't supported on iSeries */