From: Witold Baryluk Date: Mon, 13 Sep 2010 17:57:35 +0000 (+0100) Subject: llvmpipe: Change asm to __asm__. X-Git-Tag: mesa-7.9-rc1~112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c40858fa0dac28dc5096973ac267630ba5725003;p=platform%2Fupstream%2Fmesa.git llvmpipe: Change asm to __asm__. According to gcc documentation both are equivalent, second are prefered as first can make conflict with existing symbols. Signed-off-by: José Fonseca --- diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 3b7fd5d..53ffb95 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);