]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] Fix compile error in swab.h
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 11 Apr 2012 12:28:12 +0000 (14:28 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 11 Apr 2012 12:28:26 +0000 (14:28 +0200)
commit81649fcc81df154a6e936de67b0d76f819598bb4
tree836c6ff7426cd2e75a333368831b1684b7da09af
parent055b93140052fb34a60b3310bb6b70743563f1d2
[S390] Fix compile error in swab.h

The inline assembly in__arch_swab16p causes compile errors of the form:

*error*: *invalid* '*asm*': operand number missing after %-*letter*

The assembly uses the %O<n>/%R<n> notation but the first operand misses
the operand number, it needs to be "%O1" instead of "%O".

Reported-by: Gil Peleg <gilpeleg@servframe.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/swab.h