From b4782ba76b8ee48dca9948abe8ba5cd1f42617e7 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 10 Dec 2004 11:53:24 +0000 Subject: Use wbinvd macro instead of assembly for it, From: Stefan Dirsch Signed-off-by: Dave Airlie --- linux-core/ati_pcigart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3