summaryrefslogtreecommitdiffstats
path: root/lib/once.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2017-08-07 10:31:20 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-17 16:53:31 +0800
commitdea632cadd129d1901efde6b1167a6250b2157fb (patch)
tree669bf9f93a2f3a59bc6d6834188544f0eb557d5b /lib/once.c
parent67adc432f424063cb82dfcb56fa883c7d8f7e9e5 (diff)
downloadlinux-stable-dea632cadd129d1901efde6b1167a6250b2157fb.tar.gz
linux-stable-dea632cadd129d1901efde6b1167a6250b2157fb.tar.bz2
linux-stable-dea632cadd129d1901efde6b1167a6250b2157fb.zip
lib/mpi: fix build with clang
Use just @ to denote comments which works with gcc and clang. Otherwise clang reports an escape sequence error: error: invalid % escape in inline assembly string Use %0-%3 as operand references, this avoids: error: invalid operand in inline asm: 'umull ${1:r}, ${0:r}, ${2:r}, ${3:r}' Also remove superfluous casts on output operands to avoid warnings such as: warning: invalid use of a cast in an inline asm context requiring an l-value Signed-off-by: Stefan Agner <stefan@agner.ch> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions