mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-04-23 00:40:46 +02:00
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:
parent
c4a87c6883
commit
b4782ba76b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue