diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-16 20:17:56 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-16 20:17:56 +0000 |
commit | 26b29f4f2d4284fb81647a00b81530f280881303 (patch) | |
tree | 2ab0a30362d6cdf878efc039236befa860e28ae3 /vidix/s3_regs.h | |
parent | 2195547220674940ef20e9ea38bb3610541d04b3 (diff) | |
download | mpv-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/s3_regs.h')
-rw-r--r-- | vidix/s3_regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vidix/s3_regs.h b/vidix/s3_regs.h index 0add1bea54..4fd0e427cf 100644 --- a/vidix/s3_regs.h +++ b/vidix/s3_regs.h @@ -196,7 +196,7 @@ do { \ #ifndef USE_RMW_CYCLES /* Can be used to inhibit READ-MODIFY-WRITE cycles. On by default. */ -#define MEM_BARRIER() __asm__ __volatile__ ("" : : : "memory") +#define MEM_BARRIER() __asm__ volatile ("" : : : "memory") #undef VID_WR08 #define VID_WR08(p,i,val) ({ MEM_BARRIER(); ((uint8_t *)(p))[(i)]=(val); }) |