]> err.no Git - linux-2.6/commit
sh: Correct __xdiv64_32/div64_32 return value size.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 6 Jul 2007 01:58:04 +0000 (10:58 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 6 Jul 2007 01:58:04 +0000 (10:58 +0900)
commit04c7d9579f25ff0dd01efa958805f34c92bc6a71
tree125a0da3b1d4397af86b562c5b4e8df1eedf10ab
parent75f016a7ce75220d898608791870ab7da549a430
sh: Correct __xdiv64_32/div64_32 return value size.

These should be returning a uint32_t, whereas they were erroneously
returning a u64 before. As the register sizes are 32-bits, this doesn't
really make a lot of sense.

Reported-by: Katsuya MATSUBARA <matsu@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/lib/div64-generic.c
arch/sh/lib/div64.S