git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[S390] __div64_31 broken for CONFIG_MARCH_G5
[sfrench/cifs-2.6.git]
/
arch
/
s390
/
lib
/
div64.c
diff --git
a/arch/s390/lib/div64.c
b/arch/s390/lib/div64.c
index a5f8300bf3ee2c8fa61a86f9ea798cd80cd4817f..d9e62c0b576a2691088f62f537cb0f1e237f7194 100644
(file)
--- a/
arch/s390/lib/div64.c
+++ b/
arch/s390/lib/div64.c
@@
-61,7
+61,7
@@
static uint32_t __div64_31(uint64_t *n, uint32_t base)
" clr %0,%3\n"
" jl 0f\n"
" slr %0,%3\n"
- " a
lr %1,%2
\n"
+ " a
hi %1,1
\n"
"0:\n"
: "+d" (reg2), "+d" (reg3), "=d" (tmp)
: "d" (base), "2" (1UL) : "cc" );