summaryrefslogtreecommitdiffstats
path: root/vidix/sysdep/AsmMacros_x86.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-16 20:17:56 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-16 20:17:56 +0000
commit26b29f4f2d4284fb81647a00b81530f280881303 (patch)
tree2ab0a30362d6cdf878efc039236befa860e28ae3 /vidix/sysdep/AsmMacros_x86.h
parent2195547220674940ef20e9ea38bb3610541d04b3 (diff)
downloadmpv-26b29f4f2d4284fb81647a00b81530f280881303.tar.bz2
mpv-26b29f4f2d4284fb81647a00b81530f280881303.tar.xz
Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should be the most correct and portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/sysdep/AsmMacros_x86.h')
-rw-r--r--vidix/sysdep/AsmMacros_x86.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/vidix/sysdep/AsmMacros_x86.h b/vidix/sysdep/AsmMacros_x86.h
index c0b1afc105..6bebeaa505 100644
--- a/vidix/sysdep/AsmMacros_x86.h
+++ b/vidix/sysdep/AsmMacros_x86.h
@@ -171,7 +171,7 @@ static __inline__ void outb(short port,char val)
}
else
#endif
- __asm__ __volatile__("outb %0,%1" : :"a" (val), "d" (port));
+ __asm__ volatile("outb %0,%1" : :"a" (val), "d" (port));
return;
}
@@ -199,7 +199,7 @@ static __inline__ void outw(short port,short val)
}
else
#endif
- __asm__ __volatile__("outw %0,%1" : :"a" (val), "d" (port));
+ __asm__ volatile("outw %0,%1" : :"a" (val), "d" (port));
return;
}
@@ -227,7 +227,7 @@ static __inline__ void outl(short port,unsigned int val)
}
else
#endif
- __asm__ __volatile__("outl %0,%1" : :"a" (val), "d" (port));
+ __asm__ volatile("outl %0,%1" : :"a" (val), "d" (port));
return;
}
@@ -255,7 +255,7 @@ static __inline__ unsigned int inb(short port)
}
else
#endif
- __asm__ __volatile__("inb %1,%0" :
+ __asm__ volatile("inb %1,%0" :
"=a" (ret) :
"d" (port));
return ret;
@@ -285,7 +285,7 @@ static __inline__ unsigned int inw(short port)
}
else
#endif
- __asm__ __volatile__("inw %1,%0" :
+ __asm__ volatile("inw %1,%0" :
"=a" (ret) :
"d" (port));
return ret;
@@ -315,7 +315,7 @@ static __inline__ unsigned int inl(short port)
}
else
#endif
- __asm__ __volatile__("inl %1,%0" :
+ __asm__ volatile("inl %1,%0" :
"=a" (ret) :
"d" (port));
return ret;
@@ -327,7 +327,7 @@ static __inline__ void intr_disable()
if (svgahelper_initialized == 1)
return;
#endif
- __asm__ __volatile__("cli");
+ __asm__ volatile("cli");
}
static __inline__ void intr_enable()
@@ -336,7 +336,7 @@ static __inline__ void intr_enable()
if (svgahelper_initialized == 1)
return;
#endif
- __asm__ __volatile__("sti");
+ __asm__ volatile("sti");
}
#endif /* MPLAYER_ASMMACROS_X86_H */