@@ -330,33 +330,33 @@ static __inline__ void __DEFAULT_FN_ATTRS __halt(void) {
330
330
__asm__ volatile ("hlt" );
331
331
}
332
332
333
- static inline unsigned char __inbyte (unsigned short port ) {
333
+ static __inline__ unsigned char __inbyte (unsigned short port ) {
334
334
unsigned char ret ;
335
335
__asm__ __volatile__("inb %w1, %b0" : "=a" (ret ) : "Nd" (port ));
336
336
return ret ;
337
337
}
338
338
339
- static inline unsigned short __inword (unsigned short port ) {
339
+ static __inline__ unsigned short __inword (unsigned short port ) {
340
340
unsigned short ret ;
341
341
__asm__ __volatile__("inw %w1, %w0" : "=a" (ret ) : "Nd" (port ));
342
342
return ret ;
343
343
}
344
344
345
- static inline unsigned long __indword (unsigned short port ) {
345
+ static __inline__ unsigned long __indword (unsigned short port ) {
346
346
unsigned long ret ;
347
347
__asm__ __volatile__("inl %w1, %k0" : "=a" (ret ) : "Nd" (port ));
348
348
return ret ;
349
349
}
350
350
351
- static inline void __outbyte (unsigned short port , unsigned char data ) {
351
+ static __inline__ void __outbyte (unsigned short port , unsigned char data ) {
352
352
__asm__ __volatile__("outb %b0, %w1" : : "a" (data ), "Nd" (port ));
353
353
}
354
354
355
- static inline void __outword (unsigned short port , unsigned short data ) {
355
+ static __inline__ void __outword (unsigned short port , unsigned short data ) {
356
356
__asm__ __volatile__("outw %w0, %w1" : : "a" (data ), "Nd" (port ));
357
357
}
358
358
359
- static inline void __outdword (unsigned short port , unsigned long data ) {
359
+ static __inline__ void __outdword (unsigned short port , unsigned long data ) {
360
360
__asm__ __volatile__("outl %k0, %w1" : : "a" (data ), "Nd" (port ));
361
361
}
362
362
#endif
0 commit comments