.. | .. |
---|
49 | 49 | } |
---|
50 | 50 | } |
---|
51 | 51 | EXPORT_SYMBOL(memset_io); |
---|
52 | | - |
---|
53 | | -#ifdef CONFIG_IA64_GENERIC |
---|
54 | | - |
---|
55 | | -#undef __ia64_inb |
---|
56 | | -#undef __ia64_inw |
---|
57 | | -#undef __ia64_inl |
---|
58 | | -#undef __ia64_outb |
---|
59 | | -#undef __ia64_outw |
---|
60 | | -#undef __ia64_outl |
---|
61 | | -#undef __ia64_readb |
---|
62 | | -#undef __ia64_readw |
---|
63 | | -#undef __ia64_readl |
---|
64 | | -#undef __ia64_readq |
---|
65 | | -#undef __ia64_readb_relaxed |
---|
66 | | -#undef __ia64_readw_relaxed |
---|
67 | | -#undef __ia64_readl_relaxed |
---|
68 | | -#undef __ia64_readq_relaxed |
---|
69 | | -#undef __ia64_writeb |
---|
70 | | -#undef __ia64_writew |
---|
71 | | -#undef __ia64_writel |
---|
72 | | -#undef __ia64_writeq |
---|
73 | | -#undef __ia64_mmiowb |
---|
74 | | - |
---|
75 | | -unsigned int |
---|
76 | | -__ia64_inb (unsigned long port) |
---|
77 | | -{ |
---|
78 | | - return ___ia64_inb(port); |
---|
79 | | -} |
---|
80 | | - |
---|
81 | | -unsigned int |
---|
82 | | -__ia64_inw (unsigned long port) |
---|
83 | | -{ |
---|
84 | | - return ___ia64_inw(port); |
---|
85 | | -} |
---|
86 | | - |
---|
87 | | -unsigned int |
---|
88 | | -__ia64_inl (unsigned long port) |
---|
89 | | -{ |
---|
90 | | - return ___ia64_inl(port); |
---|
91 | | -} |
---|
92 | | - |
---|
93 | | -void |
---|
94 | | -__ia64_outb (unsigned char val, unsigned long port) |
---|
95 | | -{ |
---|
96 | | - ___ia64_outb(val, port); |
---|
97 | | -} |
---|
98 | | - |
---|
99 | | -void |
---|
100 | | -__ia64_outw (unsigned short val, unsigned long port) |
---|
101 | | -{ |
---|
102 | | - ___ia64_outw(val, port); |
---|
103 | | -} |
---|
104 | | - |
---|
105 | | -void |
---|
106 | | -__ia64_outl (unsigned int val, unsigned long port) |
---|
107 | | -{ |
---|
108 | | - ___ia64_outl(val, port); |
---|
109 | | -} |
---|
110 | | - |
---|
111 | | -unsigned char |
---|
112 | | -__ia64_readb (void __iomem *addr) |
---|
113 | | -{ |
---|
114 | | - return ___ia64_readb (addr); |
---|
115 | | -} |
---|
116 | | - |
---|
117 | | -unsigned short |
---|
118 | | -__ia64_readw (void __iomem *addr) |
---|
119 | | -{ |
---|
120 | | - return ___ia64_readw (addr); |
---|
121 | | -} |
---|
122 | | - |
---|
123 | | -unsigned int |
---|
124 | | -__ia64_readl (void __iomem *addr) |
---|
125 | | -{ |
---|
126 | | - return ___ia64_readl (addr); |
---|
127 | | -} |
---|
128 | | - |
---|
129 | | -unsigned long |
---|
130 | | -__ia64_readq (void __iomem *addr) |
---|
131 | | -{ |
---|
132 | | - return ___ia64_readq (addr); |
---|
133 | | -} |
---|
134 | | - |
---|
135 | | -unsigned char |
---|
136 | | -__ia64_readb_relaxed (void __iomem *addr) |
---|
137 | | -{ |
---|
138 | | - return ___ia64_readb (addr); |
---|
139 | | -} |
---|
140 | | - |
---|
141 | | -unsigned short |
---|
142 | | -__ia64_readw_relaxed (void __iomem *addr) |
---|
143 | | -{ |
---|
144 | | - return ___ia64_readw (addr); |
---|
145 | | -} |
---|
146 | | - |
---|
147 | | -unsigned int |
---|
148 | | -__ia64_readl_relaxed (void __iomem *addr) |
---|
149 | | -{ |
---|
150 | | - return ___ia64_readl (addr); |
---|
151 | | -} |
---|
152 | | - |
---|
153 | | -unsigned long |
---|
154 | | -__ia64_readq_relaxed (void __iomem *addr) |
---|
155 | | -{ |
---|
156 | | - return ___ia64_readq (addr); |
---|
157 | | -} |
---|
158 | | - |
---|
159 | | -void |
---|
160 | | -__ia64_mmiowb(void) |
---|
161 | | -{ |
---|
162 | | - ___ia64_mmiowb(); |
---|
163 | | -} |
---|
164 | | - |
---|
165 | | -#endif /* CONFIG_IA64_GENERIC */ |
---|