The constraints of the rrbm inline assembly are missing two
earlyclobber operands, which can lead to an addressing exception
depending on compiler register allocation decisions.
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
" ogr %1,%0\n"
" la %3,0(%4,%3)\n"
" brct %2,0b\n"
- : "=d" (tmp), "+d" (rc), "+d" (counter), "+a" (pmd_addr)
+ : "=&d" (tmp), "+&d" (rc), "+d" (counter),
+ "+a" (pmd_addr)
: "a" (64 * 4096UL) : "cc");
rc = !!rc;
} else {