Module: Mesa Branch: master Commit: c40858fa0dac28dc5096973ac267630ba5725003 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c40858fa0dac28dc5096973ac267630ba5725003
Author: Witold Baryluk <[email protected]> Date: Mon Sep 13 18:57:35 2010 +0100 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 <[email protected]> --- src/gallium/drivers/llvmpipe/lp_setup_tri.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) 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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
