summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorHassan Naveed <hnaveed@wavecomp.com>2019-11-15 23:44:49 +0000
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-22 19:47:41 -0500
commit16c0f03f629a89e6a1249497202b2c154ff46206 (patch)
treed1daa06f507c4ea2d3b9a391cbc1ccfcb8f70e21 /arch/mips
parent0e24220821b0e0e330a18bfef29ac6396545d62e (diff)
tracing: Enable syscall optimization for MIPS
Since MIPS architecture has a sparse syscall array, select the HAVE_SPARSE_SYSCALL_NR to save space. Link: http://lkml.kernel.org/r/20191115234314.21599-2-hnaveed@wavecomp.com Signed-off-by: Hassan Naveed <hnaveed@wavecomp.com> Reviewed-by: Paul Burton <paulburton@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a0bd9bdb5f83..c7f59c4a00d8 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -73,6 +73,7 @@ config MIPS
select HAVE_PERF_EVENTS
select HAVE_REGS_AND_STACK_ACCESS_API
select HAVE_RSEQ
+ select HAVE_SPARSE_SYSCALL_NR
select HAVE_STACKPROTECTOR
select HAVE_SYSCALL_TRACEPOINTS
select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP