diff options
author | Firoz Khan <firoz.khan@linaro.org> | 2018-12-13 14:37:34 +0530 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-12-14 11:13:40 -0800 |
commit | a5ee2be91acb6fcee6c70d5f7d62da7c6804e1eb (patch) | |
tree | a3fc3a484c07cb09f127b792a31b1f724fcab273 /arch/mips/kernel/scall32-o32.S | |
parent | ef2512c826592d40918a7de0a4ee31c67775db17 (diff) | |
download | linux-stable-a5ee2be91acb6fcee6c70d5f7d62da7c6804e1eb.tar.gz linux-stable-a5ee2be91acb6fcee6c70d5f7d62da7c6804e1eb.tar.bz2 linux-stable-a5ee2be91acb6fcee6c70d5f7d62da7c6804e1eb.zip |
mips: remove unused macros
Remove __NR_Linux_syscalls from uapi/asm/unistd.h as
there is no users to use NR_syscalls macro in mips
kernel.
MAX_SYSCALL_NO can also remove as there is commit
2957c9e61ee9 ("[MIPS] IRIX: Goodbye and thanks for
all the fish"), eight years ago.
Signed-off-by: Firoz Khan <firoz.khan@linaro.org>
[paul.burton@mips.com:
- Drop the removal of NR_syscalls which is used by
kernel/trace/trace.h.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: y2038@lists.linaro.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: arnd@arndb.de
Cc: deepa.kernel@gmail.com
Cc: marcin.juszkiewicz@linaro.org
Diffstat (limited to 'arch/mips/kernel/scall32-o32.S')
-rw-r--r-- | arch/mips/kernel/scall32-o32.S | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S index 91d3c8c46097..fea6edbf7832 100644 --- a/arch/mips/kernel/scall32-o32.S +++ b/arch/mips/kernel/scall32-o32.S @@ -22,9 +22,6 @@ #include <asm/war.h> #include <asm/asm-offsets.h> -/* Highest syscall used of any syscall flavour */ -#define MAX_SYSCALL_NO __NR_O32_Linux + __NR_O32_Linux_syscalls - .align 5 NESTED(handle_sys, PT_SIZE, sp) .set noat |