svga: Use __asm__ instead of asm
authorDylan Baker <dylan@pnwbakers.com>
Thu, 26 Oct 2017 22:32:09 +0000 (15:32 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 1 Nov 2017 22:05:26 +0000 (15:05 -0700)
commit6594213cfa332be88551596bf56cf01538339f37
tree3d273663c334fa3d715cd8964b73dcfdf46696cc
parent1f2640bfa940362c7550cdd065d37555f21c8ae8
svga: Use __asm__ instead of asm

__asm__ is portable, and allows the svga driver to be compiled with the
c99 standard instead of requiring the gnu99 standard.

I have compile tested this with GCC and Clang on Linux.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/Makefile.am
src/gallium/drivers/svga/svga_msg.c
src/gallium/winsys/svga/drm/Makefile.am