summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-12-10 11:53:24 +0000
committerDave Airlie <airlied@linux.ie>2004-12-10 11:53:24 +0000
commitb4782ba76b8ee48dca9948abe8ba5cd1f42617e7 (patch)
tree84949f3b0a590080f73bc185e7b8eaaf96eac139
parentc4a87c6883ede7bbf486743efe3e9325d96f8e54 (diff)
Use wbinvd macro instead of assembly for it,
From: Stefan Dirsch <sndirsch@suse.de> Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r--linux-core/ati_pcigart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/ati_pcigart.c b/linux-core/ati_pcigart.c
index 66ca47c0..3a45c099 100644
--- a/linux-core/ati_pcigart.c
+++ b/linux-core/ati_pcigart.c
@@ -157,7 +157,7 @@ int drm_ati_pcigart_init(drm_device_t * dev,
ret = 1;
#if defined(__i386__) || defined(__x86_64__)
- asm volatile ("wbinvd":::"memory");
+ wbinvd();
#else
mb();
#endif