1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2024b246eSLinus Torvalds #ifndef __ALPHA_JENSEN_H
3024b246eSLinus Torvalds #define __ALPHA_JENSEN_H
4024b246eSLinus Torvalds
5024b246eSLinus Torvalds #include <asm/compiler.h>
6024b246eSLinus Torvalds
7024b246eSLinus Torvalds /*
8024b246eSLinus Torvalds * Defines for the AlphaPC EISA IO and memory address space.
9024b246eSLinus Torvalds */
10024b246eSLinus Torvalds
11024b246eSLinus Torvalds /*
12024b246eSLinus Torvalds * NOTE! The memory operations do not set any memory barriers, as it's
13024b246eSLinus Torvalds * not needed for cases like a frame buffer that is essentially memory-like.
14024b246eSLinus Torvalds * You need to do them by hand if the operations depend on ordering.
15024b246eSLinus Torvalds *
16024b246eSLinus Torvalds * Similarly, the port IO operations do a "mb" only after a write operation:
17024b246eSLinus Torvalds * if an mb is needed before (as in the case of doing memory mapped IO
18024b246eSLinus Torvalds * first, and then a port IO operation to the same device), it needs to be
19024b246eSLinus Torvalds * done by hand.
20024b246eSLinus Torvalds *
21024b246eSLinus Torvalds * After the above has bitten me 100 times, I'll give up and just do the
22024b246eSLinus Torvalds * mb all the time, but right now I'm hoping this will work out. Avoiding
23024b246eSLinus Torvalds * mb's may potentially be a noticeable speed improvement, but I can't
24024b246eSLinus Torvalds * honestly say I've tested it.
25024b246eSLinus Torvalds *
26024b246eSLinus Torvalds * Handling interrupts that need to do mb's to synchronize to non-interrupts
27024b246eSLinus Torvalds * is another fun race area. Don't do it (because if you do, I'll have to
28024b246eSLinus Torvalds * do *everything* with interrupts disabled, ugh).
29024b246eSLinus Torvalds */
30024b246eSLinus Torvalds
31024b246eSLinus Torvalds /*
32024b246eSLinus Torvalds * EISA Interrupt Acknowledge address
33024b246eSLinus Torvalds */
34024b246eSLinus Torvalds #define EISA_INTA (IDENT_ADDR + 0x100000000UL)
35024b246eSLinus Torvalds
36024b246eSLinus Torvalds /*
37024b246eSLinus Torvalds * FEPROM addresses
38024b246eSLinus Torvalds */
39024b246eSLinus Torvalds #define EISA_FEPROM0 (IDENT_ADDR + 0x180000000UL)
40024b246eSLinus Torvalds #define EISA_FEPROM1 (IDENT_ADDR + 0x1A0000000UL)
41024b246eSLinus Torvalds
42024b246eSLinus Torvalds /*
43024b246eSLinus Torvalds * VL82C106 base address
44024b246eSLinus Torvalds */
45024b246eSLinus Torvalds #define EISA_VL82C106 (IDENT_ADDR + 0x1C0000000UL)
46024b246eSLinus Torvalds
47024b246eSLinus Torvalds /*
48024b246eSLinus Torvalds * EISA "Host Address Extension" address (bits 25-31 of the EISA address)
49024b246eSLinus Torvalds */
50024b246eSLinus Torvalds #define EISA_HAE (IDENT_ADDR + 0x1D0000000UL)
51024b246eSLinus Torvalds
52024b246eSLinus Torvalds /*
53024b246eSLinus Torvalds * "SYSCTL" register address
54024b246eSLinus Torvalds */
55024b246eSLinus Torvalds #define EISA_SYSCTL (IDENT_ADDR + 0x1E0000000UL)
56024b246eSLinus Torvalds
57024b246eSLinus Torvalds /*
58024b246eSLinus Torvalds * "spare" register address
59024b246eSLinus Torvalds */
60024b246eSLinus Torvalds #define EISA_SPARE (IDENT_ADDR + 0x1F0000000UL)
61024b246eSLinus Torvalds
62024b246eSLinus Torvalds /*
63024b246eSLinus Torvalds * EISA memory address offset
64024b246eSLinus Torvalds */
65024b246eSLinus Torvalds #define EISA_MEM (IDENT_ADDR + 0x200000000UL)
66024b246eSLinus Torvalds
67024b246eSLinus Torvalds /*
68024b246eSLinus Torvalds * EISA IO address offset
69024b246eSLinus Torvalds */
70024b246eSLinus Torvalds #define EISA_IO (IDENT_ADDR + 0x300000000UL)
71024b246eSLinus Torvalds
72024b246eSLinus Torvalds
73024b246eSLinus Torvalds #ifdef __KERNEL__
74024b246eSLinus Torvalds
75024b246eSLinus Torvalds #ifndef __EXTERN_INLINE
76024b246eSLinus Torvalds #define __EXTERN_INLINE extern inline
77024b246eSLinus Torvalds #define __IO_EXTERN_INLINE
78024b246eSLinus Torvalds #endif
79024b246eSLinus Torvalds
80024b246eSLinus Torvalds /*
81024b246eSLinus Torvalds * Handle the "host address register". This needs to be set
82024b246eSLinus Torvalds * to the high 7 bits of the EISA address. This is also needed
83024b246eSLinus Torvalds * for EISA IO addresses, which are only 16 bits wide (the
84024b246eSLinus Torvalds * hae needs to be set to 0).
85024b246eSLinus Torvalds *
86024b246eSLinus Torvalds * HAE isn't needed for the local IO operations, though.
87024b246eSLinus Torvalds */
88024b246eSLinus Torvalds
89024b246eSLinus Torvalds #define JENSEN_HAE_ADDRESS EISA_HAE
90024b246eSLinus Torvalds #define JENSEN_HAE_MASK 0x1ffffff
91024b246eSLinus Torvalds
jensen_set_hae(unsigned long addr)92024b246eSLinus Torvalds __EXTERN_INLINE void jensen_set_hae(unsigned long addr)
93024b246eSLinus Torvalds {
94024b246eSLinus Torvalds /* hae on the Jensen is bits 31:25 shifted right */
95024b246eSLinus Torvalds addr >>= 25;
96024b246eSLinus Torvalds if (addr != alpha_mv.hae_cache)
97024b246eSLinus Torvalds set_hae(addr);
98024b246eSLinus Torvalds }
99024b246eSLinus Torvalds
100024b246eSLinus Torvalds #define vuip volatile unsigned int *
101*e19d4ebcSArnd Bergmann #define vulp volatile unsigned long *
102024b246eSLinus Torvalds
103024b246eSLinus Torvalds /*
104024b246eSLinus Torvalds * IO functions
105024b246eSLinus Torvalds *
106024b246eSLinus Torvalds * The "local" functions are those that don't go out to the EISA bus,
107024b246eSLinus Torvalds * but instead act on the VL82C106 chip directly.. This is mainly the
108024b246eSLinus Torvalds * keyboard, RTC, printer and first two serial lines..
109024b246eSLinus Torvalds *
110024b246eSLinus Torvalds * The local stuff makes for some complications, but it seems to be
111024b246eSLinus Torvalds * gone in the PCI version. I hope I can get DEC suckered^H^H^H^H^H^H^H^H
112024b246eSLinus Torvalds * convinced that I need one of the newer machines.
113024b246eSLinus Torvalds */
114024b246eSLinus Torvalds
jensen_local_inb(unsigned long addr)115cc9d3aaaSLinus Torvalds __EXTERN_INLINE unsigned int jensen_local_inb(unsigned long addr)
116024b246eSLinus Torvalds {
117024b246eSLinus Torvalds return 0xff & *(vuip)((addr << 9) + EISA_VL82C106);
118024b246eSLinus Torvalds }
119024b246eSLinus Torvalds
jensen_local_outb(u8 b,unsigned long addr)120cc9d3aaaSLinus Torvalds __EXTERN_INLINE void jensen_local_outb(u8 b, unsigned long addr)
121024b246eSLinus Torvalds {
122024b246eSLinus Torvalds *(vuip)((addr << 9) + EISA_VL82C106) = b;
123024b246eSLinus Torvalds mb();
124024b246eSLinus Torvalds }
125024b246eSLinus Torvalds
jensen_bus_inb(unsigned long addr)126cc9d3aaaSLinus Torvalds __EXTERN_INLINE unsigned int jensen_bus_inb(unsigned long addr)
127024b246eSLinus Torvalds {
128024b246eSLinus Torvalds long result;
129024b246eSLinus Torvalds
130024b246eSLinus Torvalds jensen_set_hae(0);
131024b246eSLinus Torvalds result = *(volatile int *)((addr << 7) + EISA_IO + 0x00);
132024b246eSLinus Torvalds return __kernel_extbl(result, addr & 3);
133024b246eSLinus Torvalds }
134024b246eSLinus Torvalds
jensen_bus_outb(u8 b,unsigned long addr)135cc9d3aaaSLinus Torvalds __EXTERN_INLINE void jensen_bus_outb(u8 b, unsigned long addr)
136024b246eSLinus Torvalds {
137024b246eSLinus Torvalds jensen_set_hae(0);
138024b246eSLinus Torvalds *(vuip)((addr << 7) + EISA_IO + 0x00) = b * 0x01010101;
139024b246eSLinus Torvalds mb();
140024b246eSLinus Torvalds }
141024b246eSLinus Torvalds
142024b246eSLinus Torvalds /*
143024b246eSLinus Torvalds * It seems gcc is not very good at optimizing away logical
144024b246eSLinus Torvalds * operations that result in operations across inline functions.
145024b246eSLinus Torvalds * Which is why this is a macro.
146024b246eSLinus Torvalds */
147024b246eSLinus Torvalds
148024b246eSLinus Torvalds #define jensen_is_local(addr) ( \
149024b246eSLinus Torvalds /* keyboard */ (addr == 0x60 || addr == 0x64) || \
150024b246eSLinus Torvalds /* RTC */ (addr == 0x170 || addr == 0x171) || \
151024b246eSLinus Torvalds /* mb COM2 */ (addr >= 0x2f8 && addr <= 0x2ff) || \
152024b246eSLinus Torvalds /* mb LPT1 */ (addr >= 0x3bc && addr <= 0x3be) || \
153024b246eSLinus Torvalds /* mb COM2 */ (addr >= 0x3f8 && addr <= 0x3ff))
154024b246eSLinus Torvalds
jensen_inb(unsigned long addr)155024b246eSLinus Torvalds __EXTERN_INLINE u8 jensen_inb(unsigned long addr)
156024b246eSLinus Torvalds {
157024b246eSLinus Torvalds if (jensen_is_local(addr))
158024b246eSLinus Torvalds return jensen_local_inb(addr);
159024b246eSLinus Torvalds else
160024b246eSLinus Torvalds return jensen_bus_inb(addr);
161024b246eSLinus Torvalds }
162024b246eSLinus Torvalds
jensen_outb(u8 b,unsigned long addr)163024b246eSLinus Torvalds __EXTERN_INLINE void jensen_outb(u8 b, unsigned long addr)
164024b246eSLinus Torvalds {
165024b246eSLinus Torvalds if (jensen_is_local(addr))
166024b246eSLinus Torvalds jensen_local_outb(b, addr);
167024b246eSLinus Torvalds else
168024b246eSLinus Torvalds jensen_bus_outb(b, addr);
169024b246eSLinus Torvalds }
170024b246eSLinus Torvalds
jensen_inw(unsigned long addr)171024b246eSLinus Torvalds __EXTERN_INLINE u16 jensen_inw(unsigned long addr)
172024b246eSLinus Torvalds {
173024b246eSLinus Torvalds long result;
174024b246eSLinus Torvalds
175024b246eSLinus Torvalds jensen_set_hae(0);
176024b246eSLinus Torvalds result = *(volatile int *) ((addr << 7) + EISA_IO + 0x20);
177024b246eSLinus Torvalds result >>= (addr & 3) * 8;
178024b246eSLinus Torvalds return 0xffffUL & result;
179024b246eSLinus Torvalds }
180024b246eSLinus Torvalds
jensen_inl(unsigned long addr)181024b246eSLinus Torvalds __EXTERN_INLINE u32 jensen_inl(unsigned long addr)
182024b246eSLinus Torvalds {
183024b246eSLinus Torvalds jensen_set_hae(0);
184024b246eSLinus Torvalds return *(vuip) ((addr << 7) + EISA_IO + 0x60);
185024b246eSLinus Torvalds }
186024b246eSLinus Torvalds
jensen_inq(unsigned long addr)187*e19d4ebcSArnd Bergmann __EXTERN_INLINE u64 jensen_inq(unsigned long addr)
188*e19d4ebcSArnd Bergmann {
189*e19d4ebcSArnd Bergmann jensen_set_hae(0);
190*e19d4ebcSArnd Bergmann return *(vulp) ((addr << 7) + EISA_IO + 0x60);
191*e19d4ebcSArnd Bergmann }
192*e19d4ebcSArnd Bergmann
jensen_outw(u16 b,unsigned long addr)193024b246eSLinus Torvalds __EXTERN_INLINE void jensen_outw(u16 b, unsigned long addr)
194024b246eSLinus Torvalds {
195024b246eSLinus Torvalds jensen_set_hae(0);
196024b246eSLinus Torvalds *(vuip) ((addr << 7) + EISA_IO + 0x20) = b * 0x00010001;
197024b246eSLinus Torvalds mb();
198024b246eSLinus Torvalds }
199024b246eSLinus Torvalds
jensen_outl(u32 b,unsigned long addr)200024b246eSLinus Torvalds __EXTERN_INLINE void jensen_outl(u32 b, unsigned long addr)
201024b246eSLinus Torvalds {
202024b246eSLinus Torvalds jensen_set_hae(0);
203024b246eSLinus Torvalds *(vuip) ((addr << 7) + EISA_IO + 0x60) = b;
204024b246eSLinus Torvalds mb();
205024b246eSLinus Torvalds }
206024b246eSLinus Torvalds
jensen_outq(u64 b,unsigned long addr)207*e19d4ebcSArnd Bergmann __EXTERN_INLINE void jensen_outq(u64 b, unsigned long addr)
208*e19d4ebcSArnd Bergmann {
209*e19d4ebcSArnd Bergmann jensen_set_hae(0);
210*e19d4ebcSArnd Bergmann *(vulp) ((addr << 7) + EISA_IO + 0x60) = b;
211*e19d4ebcSArnd Bergmann mb();
212*e19d4ebcSArnd Bergmann }
213*e19d4ebcSArnd Bergmann
214024b246eSLinus Torvalds /*
215024b246eSLinus Torvalds * Memory functions.
216024b246eSLinus Torvalds */
217024b246eSLinus Torvalds
jensen_readb(const volatile void __iomem * xaddr)218024b246eSLinus Torvalds __EXTERN_INLINE u8 jensen_readb(const volatile void __iomem *xaddr)
219024b246eSLinus Torvalds {
220024b246eSLinus Torvalds unsigned long addr = (unsigned long) xaddr;
221024b246eSLinus Torvalds long result;
222024b246eSLinus Torvalds
223024b246eSLinus Torvalds jensen_set_hae(addr);
224024b246eSLinus Torvalds addr &= JENSEN_HAE_MASK;
225024b246eSLinus Torvalds result = *(volatile int *) ((addr << 7) + EISA_MEM + 0x00);
226024b246eSLinus Torvalds result >>= (addr & 3) * 8;
227024b246eSLinus Torvalds return 0xffUL & result;
228024b246eSLinus Torvalds }
229024b246eSLinus Torvalds
jensen_readw(const volatile void __iomem * xaddr)230024b246eSLinus Torvalds __EXTERN_INLINE u16 jensen_readw(const volatile void __iomem *xaddr)
231024b246eSLinus Torvalds {
232024b246eSLinus Torvalds unsigned long addr = (unsigned long) xaddr;
233024b246eSLinus Torvalds long result;
234024b246eSLinus Torvalds
235024b246eSLinus Torvalds jensen_set_hae(addr);
236024b246eSLinus Torvalds addr &= JENSEN_HAE_MASK;
237024b246eSLinus Torvalds result = *(volatile int *) ((addr << 7) + EISA_MEM + 0x20);
238024b246eSLinus Torvalds result >>= (addr & 3) * 8;
239024b246eSLinus Torvalds return 0xffffUL & result;
240024b246eSLinus Torvalds }
241024b246eSLinus Torvalds
jensen_readl(const volatile void __iomem * xaddr)242024b246eSLinus Torvalds __EXTERN_INLINE u32 jensen_readl(const volatile void __iomem *xaddr)
243024b246eSLinus Torvalds {
244024b246eSLinus Torvalds unsigned long addr = (unsigned long) xaddr;
245024b246eSLinus Torvalds jensen_set_hae(addr);
246024b246eSLinus Torvalds addr &= JENSEN_HAE_MASK;
247024b246eSLinus Torvalds return *(vuip) ((addr << 7) + EISA_MEM + 0x60);
248024b246eSLinus Torvalds }
249024b246eSLinus Torvalds
jensen_readq(const volatile void __iomem * xaddr)250024b246eSLinus Torvalds __EXTERN_INLINE u64 jensen_readq(const volatile void __iomem *xaddr)
251024b246eSLinus Torvalds {
252024b246eSLinus Torvalds unsigned long addr = (unsigned long) xaddr;
253024b246eSLinus Torvalds unsigned long r0, r1;
254024b246eSLinus Torvalds
255024b246eSLinus Torvalds jensen_set_hae(addr);
256024b246eSLinus Torvalds addr &= JENSEN_HAE_MASK;
257024b246eSLinus Torvalds addr = (addr << 7) + EISA_MEM + 0x60;
258024b246eSLinus Torvalds r0 = *(vuip) (addr);
259024b246eSLinus Torvalds r1 = *(vuip) (addr + (4 << 7));
260024b246eSLinus Torvalds return r1 << 32 | r0;
261024b246eSLinus Torvalds }
262024b246eSLinus Torvalds
jensen_writeb(u8 b,volatile void __iomem * xaddr)263024b246eSLinus Torvalds __EXTERN_INLINE void jensen_writeb(u8 b, volatile void __iomem *xaddr)
264024b246eSLinus Torvalds {
265024b246eSLinus Torvalds unsigned long addr = (unsigned long) xaddr;
266024b246eSLinus Torvalds jensen_set_hae(addr);
267024b246eSLinus Torvalds addr &= JENSEN_HAE_MASK;
268024b246eSLinus Torvalds *(vuip) ((addr << 7) + EISA_MEM + 0x00) = b * 0x01010101;
269024b246eSLinus Torvalds }
270024b246eSLinus Torvalds
jensen_writew(u16 b,volatile void __iomem * xaddr)271024b246eSLinus Torvalds __EXTERN_INLINE void jensen_writew(u16 b, volatile void __iomem *xaddr)
272024b246eSLinus Torvalds {
273024b246eSLinus Torvalds unsigned long addr = (unsigned long) xaddr;
274024b246eSLinus Torvalds jensen_set_hae(addr);
275024b246eSLinus Torvalds addr &= JENSEN_HAE_MASK;
276024b246eSLinus Torvalds *(vuip) ((addr << 7) + EISA_MEM + 0x20) = b * 0x00010001;
277024b246eSLinus Torvalds }
278024b246eSLinus Torvalds
jensen_writel(u32 b,volatile void __iomem * xaddr)279024b246eSLinus Torvalds __EXTERN_INLINE void jensen_writel(u32 b, volatile void __iomem *xaddr)
280024b246eSLinus Torvalds {
281024b246eSLinus Torvalds unsigned long addr = (unsigned long) xaddr;
282024b246eSLinus Torvalds jensen_set_hae(addr);
283024b246eSLinus Torvalds addr &= JENSEN_HAE_MASK;
284024b246eSLinus Torvalds *(vuip) ((addr << 7) + EISA_MEM + 0x60) = b;
285024b246eSLinus Torvalds }
286024b246eSLinus Torvalds
jensen_writeq(u64 b,volatile void __iomem * xaddr)287024b246eSLinus Torvalds __EXTERN_INLINE void jensen_writeq(u64 b, volatile void __iomem *xaddr)
288024b246eSLinus Torvalds {
289024b246eSLinus Torvalds unsigned long addr = (unsigned long) xaddr;
290024b246eSLinus Torvalds jensen_set_hae(addr);
291024b246eSLinus Torvalds addr &= JENSEN_HAE_MASK;
292024b246eSLinus Torvalds addr = (addr << 7) + EISA_MEM + 0x60;
293024b246eSLinus Torvalds *(vuip) (addr) = b;
294024b246eSLinus Torvalds *(vuip) (addr + (4 << 7)) = b >> 32;
295024b246eSLinus Torvalds }
296024b246eSLinus Torvalds
jensen_ioportmap(unsigned long addr)297024b246eSLinus Torvalds __EXTERN_INLINE void __iomem *jensen_ioportmap(unsigned long addr)
298024b246eSLinus Torvalds {
299024b246eSLinus Torvalds return (void __iomem *)addr;
300024b246eSLinus Torvalds }
301024b246eSLinus Torvalds
jensen_ioremap(unsigned long addr,unsigned long size)302024b246eSLinus Torvalds __EXTERN_INLINE void __iomem *jensen_ioremap(unsigned long addr,
303024b246eSLinus Torvalds unsigned long size)
304024b246eSLinus Torvalds {
305024b246eSLinus Torvalds return (void __iomem *)(addr + 0x100000000ul);
306024b246eSLinus Torvalds }
307024b246eSLinus Torvalds
jensen_is_ioaddr(unsigned long addr)308024b246eSLinus Torvalds __EXTERN_INLINE int jensen_is_ioaddr(unsigned long addr)
309024b246eSLinus Torvalds {
310024b246eSLinus Torvalds return (long)addr >= 0;
311024b246eSLinus Torvalds }
312024b246eSLinus Torvalds
jensen_is_mmio(const volatile void __iomem * addr)313024b246eSLinus Torvalds __EXTERN_INLINE int jensen_is_mmio(const volatile void __iomem *addr)
314024b246eSLinus Torvalds {
315024b246eSLinus Torvalds return (unsigned long)addr >= 0x100000000ul;
316024b246eSLinus Torvalds }
317024b246eSLinus Torvalds
318024b246eSLinus Torvalds /* New-style ioread interface. All the routines are so ugly for Jensen
319024b246eSLinus Torvalds that it doesn't make sense to merge them. */
320024b246eSLinus Torvalds
321024b246eSLinus Torvalds #define IOPORT(OS, NS) \
322*e19d4ebcSArnd Bergmann __EXTERN_INLINE u##NS jensen_ioread##NS(const void __iomem *xaddr) \
323024b246eSLinus Torvalds { \
324024b246eSLinus Torvalds if (jensen_is_mmio(xaddr)) \
325024b246eSLinus Torvalds return jensen_read##OS(xaddr - 0x100000000ul); \
326024b246eSLinus Torvalds else \
327024b246eSLinus Torvalds return jensen_in##OS((unsigned long)xaddr); \
328024b246eSLinus Torvalds } \
329024b246eSLinus Torvalds __EXTERN_INLINE void jensen_iowrite##NS(u##NS b, void __iomem *xaddr) \
330024b246eSLinus Torvalds { \
331024b246eSLinus Torvalds if (jensen_is_mmio(xaddr)) \
332024b246eSLinus Torvalds jensen_write##OS(b, xaddr - 0x100000000ul); \
333024b246eSLinus Torvalds else \
334024b246eSLinus Torvalds jensen_out##OS(b, (unsigned long)xaddr); \
335024b246eSLinus Torvalds }
336024b246eSLinus Torvalds
337024b246eSLinus Torvalds IOPORT(b, 8)
338024b246eSLinus Torvalds IOPORT(w, 16)
339024b246eSLinus Torvalds IOPORT(l, 32)
340*e19d4ebcSArnd Bergmann IOPORT(q, 64)
341024b246eSLinus Torvalds
342024b246eSLinus Torvalds #undef IOPORT
343024b246eSLinus Torvalds
344024b246eSLinus Torvalds #undef vuip
345*e19d4ebcSArnd Bergmann #undef vulp
346024b246eSLinus Torvalds
347024b246eSLinus Torvalds #undef __IO_PREFIX
348024b246eSLinus Torvalds #define __IO_PREFIX jensen
349024b246eSLinus Torvalds #define jensen_trivial_rw_bw 0
350024b246eSLinus Torvalds #define jensen_trivial_rw_lq 0
351024b246eSLinus Torvalds #define jensen_trivial_io_bw 0
352024b246eSLinus Torvalds #define jensen_trivial_io_lq 0
353024b246eSLinus Torvalds #define jensen_trivial_iounmap 1
354024b246eSLinus Torvalds #include <asm/io_trivial.h>
355024b246eSLinus Torvalds
356024b246eSLinus Torvalds #ifdef __IO_EXTERN_INLINE
357024b246eSLinus Torvalds #undef __EXTERN_INLINE
358024b246eSLinus Torvalds #undef __IO_EXTERN_INLINE
359024b246eSLinus Torvalds #endif
360024b246eSLinus Torvalds
361024b246eSLinus Torvalds #endif /* __KERNEL__ */
362024b246eSLinus Torvalds
363024b246eSLinus Torvalds #endif /* __ALPHA_JENSEN_H */
364