Commit 1bad5027 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Arnaldo Carvalho de Melo

tools x86: Keep list sorted by number in unistd_{32,64}.h

It is better to keep list sorted by number in unistd_{32,64}.h,
so that we can add more syscall number to a proper position.

This is preparation for later patch, no functionality change.
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/1668052208-14047-2-git-send-email-yangtiezhu@loongson.cnSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent a912f597
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NR_perf_event_open #ifndef __NR_gettid
# define __NR_perf_event_open 336 #define __NR_gettid 224
#endif #endif
#ifndef __NR_futex #ifndef __NR_futex
# define __NR_futex 240 #define __NR_futex 240
#endif
#ifndef __NR_gettid
# define __NR_gettid 224
#endif #endif
#ifndef __NR_getcpu #ifndef __NR_getcpu
# define __NR_getcpu 318 #define __NR_getcpu 318
#endif
#ifndef __NR_perf_event_open
#define __NR_perf_event_open 336
#endif #endif
#ifndef __NR_setns #ifndef __NR_setns
# define __NR_setns 346 #define __NR_setns 346
#endif #endif
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NR_perf_event_open #ifndef __NR_gettid
# define __NR_perf_event_open 298 #define __NR_gettid 186
#endif #endif
#ifndef __NR_futex #ifndef __NR_futex
# define __NR_futex 202 #define __NR_futex 202
#endif
#ifndef __NR_gettid
# define __NR_gettid 186
#endif #endif
#ifndef __NR_getcpu #ifndef __NR_perf_event_open
# define __NR_getcpu 309 #define __NR_perf_event_open 298
#endif #endif
#ifndef __NR_setns #ifndef __NR_setns
#define __NR_setns 308 #define __NR_setns 308
#endif #endif
#ifndef __NR_getcpu
#define __NR_getcpu 309
#endif
Markdown is supported
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