]> git.baikalelectronics.ru Git - 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)
committerJames Hogan <jhogan@kernel.org>
Wed, 18 Apr 2018 21:02:29 +0000 (22:02 +0100)
commit5de03c2a53f261946db1e51432133547f747742d
tree5de7a8125f8693278ef93b15ea9e45dbdfce6507
parent2d60af2e5754c61def093a7f3570be216c036c9e
MIPS: uaccess: Add micromips clobbers to bzero invocation

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

Fixes: 80055fc788e8 ("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>
arch/mips/include/asm/uaccess.h