Commit dd86dda2 authored by Jason Baron's avatar Jason Baron Committed by Frederic Weisbecker
Browse files

tracing: Define NR_syscalls for x86 (32)

Add a NR_syscalls #define for x86. This is used in the syscall events
tracing code. Todo: make it dynamic like x86_64.

NR_syscalls is the usual name used to determine the number of syscalls
supported by the current arch. We want to unify the use of this number
across archs that support the syscall tracing. This also prepare to move
some of the arch code to core code in the syscall tracing area.
Signed-off-by: default avatarJason Baron <>
Cc: Paul Mundt <>
Cc: Frederic Weisbecker <>
Cc: Ingo Molnar <>
Cc: Lai Jiangshan <>
Cc: Steven Rostedt <>
Cc: Peter Zijlstra <>
Cc: Mathieu Desnoyers <>
Cc: Jiaying Zhang <>
Cc: Martin Bligh <>
Cc: Li Zefan <>
Cc: Josh Stone <>
Cc: Thomas Gleixner <>
Cc: H. Peter Anwin <>
Cc: Hendrik Brueckner <>
Cc: Heiko Carstens <>
LKML-Reference: <>
Signed-off-by: default avatarFrederic Weisbecker <>
parent cc3b13c1
......@@ -345,6 +345,8 @@
#ifdef __KERNEL__
#define NR_syscalls 337
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment