Commit e3c4efc1 authored by Dave Airlie's avatar Dave Airlie

drm: Use wbinvd macro instead of assembly for it,

From: Stefan Dirsch <sndirsch@suse.de>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 3025be72
...@@ -195,7 +195,7 @@ int drm_ati_pcigart_init( drm_device_t *dev, ...@@ -195,7 +195,7 @@ int drm_ati_pcigart_init( drm_device_t *dev,
ret = 1; ret = 1;
#if defined(__i386__) || defined(__x86_64__) #if defined(__i386__) || defined(__x86_64__)
asm volatile ( "wbinvd" ::: "memory" ); wbinvd();
#else #else
mb(); mb();
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment