summaryrefslogtreecommitdiffstats
path: root/loader/ldt_keeper.c
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 /loader/ldt_keeper.c
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 'loader/ldt_keeper.c')
-rw-r--r--loader/ldt_keeper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/ldt_keeper.c b/loader/ldt_keeper.c
index ef9386435e..e0d4447e60 100644
--- a/loader/ldt_keeper.c
+++ b/loader/ldt_keeper.c
@@ -138,7 +138,7 @@ void Setup_FS_Segment(void)
{
unsigned int ldt_desc = LDT_SEL(fs_ldt);
- __asm__ __volatile__(
+ __asm__ volatile(
"movl %0,%%eax; movw %%ax, %%fs" : : "r" (ldt_desc)
:"eax"
);
@@ -154,7 +154,7 @@ static int LDT_Modify( int func, struct modify_ldt_ldt_s *ptr,
{
int res;
#ifdef __PIC__
- __asm__ __volatile__( "pushl %%ebx\n\t"
+ __asm__ volatile( "pushl %%ebx\n\t"
"movl %2,%%ebx\n\t"
"int $0x80\n\t"
"popl %%ebx"
@@ -165,7 +165,7 @@ static int LDT_Modify( int func, struct modify_ldt_ldt_s *ptr,
"d"(16)//sizeof(*ptr) from kernel point of view
:"esi" );
#else
- __asm__ __volatile__("int $0x80"
+ __asm__ volatile("int $0x80"
: "=a" (res)
: "0" (__NR_modify_ldt),
"b" (func),