]> git.ipfire.org Git - people/arne_f/kernel.git/commit
MIPS: uaccess: Add micromips clobbers to bzero invocation
authorMatt Redfearn <matt.redfearn@mips.com>
Tue, 17 Apr 2018 15:40:01 +0000 (16:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:43:08 +0000 (09:43 +0200)
commit1d0d9058215e75533f01fbb3db93621f142e1a3d
tree63ed2c6a69ffd594ee492eed9361ad7113644ce3
parent010068656bec9d22eea696bc9a2ca36129a60e43
MIPS: uaccess: Add micromips clobbers to bzero invocation

commit b3d7e55c3f886493235bfee08e1e5a4a27cbcce8 upstream.

The micromips implementation of bzero additionally clobbers registers t7
& t8. Specify this in the clobbers list when invoking bzero.

Fixes: 26c5e07d1478 ("MIPS: microMIPS: Optimise 'memset' core library function.")
Reported-by: James Hogan <jhogan@kernel.org>
Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 3.10+
Patchwork: https://patchwork.linux-mips.org/patch/19110/
Signed-off-by: James Hogan <jhogan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/include/asm/uaccess.h