summaryrefslogtreecommitdiffstats
path: root/drivers/radeon_vid.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 /drivers/radeon_vid.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 'drivers/radeon_vid.c')
-rw-r--r--drivers/radeon_vid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/radeon_vid.c b/drivers/radeon_vid.c
index f07b7bbeb6..5514f1cb6c 100644
--- a/drivers/radeon_vid.c
+++ b/drivers/radeon_vid.c
@@ -129,7 +129,7 @@ static int swap_fourcc __initdata = 0;
static inline double FastSin(double x)
{
register double res;
- __asm__ __volatile("fsin":"=t"(res):"0"(x));
+ __asm__ volatile("fsin":"=t"(res):"0"(x));
return res;
}
#undef sin
@@ -138,7 +138,7 @@ static inline double FastSin(double x)
static inline double FastCos(double x)
{
register double res;
- __asm__ __volatile("fcos":"=t"(res):"0"(x));
+ __asm__ volatile("fcos":"=t"(res):"0"(x));
return res;
}
#undef cos