Use wbinvd macro instead of assembly for it,

From: Stefan Dirsch <sndirsch@suse.de> Signed-off-by: Dave Airlie
    <airlied@linux.ie>
This commit is contained in:
Dave Airlie 2004-12-10 11:53:24 +00:00
parent c4a87c6883
commit b4782ba76b

View file

@ -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