diff drivers/radeon_vid.c @ 27757:b5a46071062a

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.
author diego
date Thu, 16 Oct 2008 20:17:56 +0000
parents 08d18fe9da52
children 0f1b5b68af32
line wrap: on
line diff
--- a/drivers/radeon_vid.c	Thu Oct 16 19:24:21 2008 +0000
+++ b/drivers/radeon_vid.c	Thu Oct 16 20:17:56 2008 +0000
@@ -129,7 +129,7 @@
 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 FastCos(double x)
 {
    register double res;
-   __asm__ __volatile("fcos":"=t"(res):"0"(x));
+   __asm__ volatile("fcos":"=t"(res):"0"(x));
    return res;
 }
 #undef cos