]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix build error seen in some configurations
authorGuenter Roeck <linux@roeck-us.net>
Mon, 25 Nov 2013 23:21:00 +0000 (15:21 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 23 Jan 2014 12:02:34 +0000 (13:02 +0100)
commit49f81030e252d7def43a2d893f25d9f0f59de468
tree95e96164b4f07251b222c222398edc1ab982139d
parent738c6ba1b9ede8c323454c86db3738ac9455b127
MIPS: Fix build error seen in some configurations

The following build error is seen if CONFIG_32BIT is undefined,
CONFIG_64BIT is defined, and CONFIG_MIPS32_O32 is undefined.

asm/syscall.h: In function 'mips_get_syscall_arg':
arch/mips/include/asm/syscall.h:32:16: error: unused variable 'usp' [-Werror=unused-variable]
cc1: all warnings being treated as errors

Fixes: ab30749b6542 ('MIPS: Enable HAVE_ARCH_TRACEHOOK')
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6160/
arch/mips/include/asm/syscall.h