dccp: do not assume DCCP code is non preemptible
[linux/fpc-iii.git] / arch / ia64 / sn / kernel / sn2 / io.c
bloba12c0586de38257c4f0a4bc8c792d8e90db65ab5
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (C) 2003 Silicon Graphics, Inc. All rights reserved.
8 * The generic kernel requires function pointers to these routines, so
9 * we wrap the inlines from asm/ia64/sn/sn2/io.h here.
12 #include <asm/sn/io.h>
14 #ifdef CONFIG_IA64_GENERIC
16 #undef __sn_inb
17 #undef __sn_inw
18 #undef __sn_inl
19 #undef __sn_outb
20 #undef __sn_outw
21 #undef __sn_outl
22 #undef __sn_readb
23 #undef __sn_readw
24 #undef __sn_readl
25 #undef __sn_readq
26 #undef __sn_readb_relaxed
27 #undef __sn_readw_relaxed
28 #undef __sn_readl_relaxed
29 #undef __sn_readq_relaxed
31 unsigned int __sn_inb(unsigned long port)
33 return ___sn_inb(port);
36 unsigned int __sn_inw(unsigned long port)
38 return ___sn_inw(port);
41 unsigned int __sn_inl(unsigned long port)
43 return ___sn_inl(port);
46 void __sn_outb(unsigned char val, unsigned long port)
48 ___sn_outb(val, port);
51 void __sn_outw(unsigned short val, unsigned long port)
53 ___sn_outw(val, port);
56 void __sn_outl(unsigned int val, unsigned long port)
58 ___sn_outl(val, port);
61 unsigned char __sn_readb(void __iomem *addr)
63 return ___sn_readb(addr);
66 unsigned short __sn_readw(void __iomem *addr)
68 return ___sn_readw(addr);
71 unsigned int __sn_readl(void __iomem *addr)
73 return ___sn_readl(addr);
76 unsigned long __sn_readq(void __iomem *addr)
78 return ___sn_readq(addr);
81 unsigned char __sn_readb_relaxed(void __iomem *addr)
83 return ___sn_readb_relaxed(addr);
86 unsigned short __sn_readw_relaxed(void __iomem *addr)
88 return ___sn_readw_relaxed(addr);
91 unsigned int __sn_readl_relaxed(void __iomem *addr)
93 return ___sn_readl_relaxed(addr);
96 unsigned long __sn_readq_relaxed(void __iomem *addr)
98 return ___sn_readq_relaxed(addr);
101 #endif