From c40858fa0dac28dc5096973ac267630ba5725003 Mon Sep 17 00:00:00 2001 From: Witold Baryluk Date: Mon, 13 Sep 2010 18:57:35 +0100 Subject: llvmpipe: Change asm to __asm__. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to gcc documentation both are equivalent, second are prefered as first can make conflict with existing symbols. Signed-off-by: José Fonseca --- src/gallium/drivers/llvmpipe/lp_setup_tri.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/llvmpipe') diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 3b7fd5d154..53ffb95505 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -449,9 +449,9 @@ floor_pot(uint32_t n) { assert(n); #if defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86) - asm("bsr %1,%0" - : "=r" (n) - : "rm" (n)); + __asm__("bsr %1,%0" + : "=r" (n) + : "rm" (n)); return 1 << n; #else n |= (n >> 1); -- cgit v1.2.3