File tree 1 file changed +3
-6
lines changed 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -349,25 +349,22 @@ static inline unsigned long _inpd(unsigned short port) {
349
349
}
350
350
351
351
static inline int _outp (unsigned short port , int data ) {
352
- __asm__ volatile ("outb %b0, %w1" : : "a" (data ), "Nd" (port ) : "memory" );
352
+ __asm__ volatile ("outb %b0, %w1" : : "a" (data ), "Nd" (port ));
353
353
return data ;
354
354
}
355
355
356
356
static inline unsigned short
357
357
_outpw (unsigned short port , unsigned short data ) {
358
- __asm__ volatile ("outw %w0, %w1" : : "a" (data ), "Nd" (port ) : "memory" );
358
+ __asm__ volatile ("outw %w0, %w1" : : "a" (data ), "Nd" (port ));
359
359
return data ;
360
360
}
361
361
362
362
static inline unsigned long _outpd (unsigned short port ,
363
363
unsigned long data ) {
364
- __asm__ volatile ("outl %k0, %w1" : : "a" (data ), "Nd" (port ) : "memory" );
364
+ __asm__ volatile ("outl %k0, %w1" : : "a" (data ), "Nd" (port ));
365
365
return data ;
366
366
}
367
367
368
- #endif
369
-
370
- #if defined(__i386__ ) || defined(__x86_64__ ) || defined(__aarch64__ )
371
368
static __inline__ void __DEFAULT_FN_ATTRS __nop (void ) {
372
369
__asm__ volatile ("nop" );
373
370
}
You can’t perform that action at this time.
0 commit comments