]> git.karo-electronics.de Git - karo-tx-linux.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)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 13:36:23 +0000 (14:36 +0100)
commitf749fe628c7d07d02b9beda31688b61ec8b9c59d
tree16fe05f7e6e992d3ef34d94223c61ede76c783d0
parent486648f36c39187f31e6da2d39c82bf4e0f86b4e
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: c0ff3c53d4f9 ('MIPS: Enable HAVE_ARCH_TRACEHOOK')
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: David Daney <david.daney@cavium.com>
Acked-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6160/
arch/mips/include/asm/syscall.h