diff options
author | Firoz Khan <[email protected]> | 2018-12-13 14:37:36 +0530 |
---|---|---|
committer | Paul Burton <[email protected]> | 2018-12-14 11:19:01 -0800 |
commit | be856439c998854c009b1f2ef9084a39b1295cec (patch) | |
tree | 4cdbdaabf2a4fd5e2db1fa9246ed47c4a1e6aac5 /scripts/gcc-plugins/sancov_plugin.c | |
parent | 6d92c26815c57682fad35eeb3e5747ce75d79212 (diff) |
mips: add +1 to __NR_syscalls in uapi header
All other architectures are hold a value for __NR_syscalls will
be equal to the last system call number +1.
But in mips architecture, __NR_syscalls hold the value equal to
total number of system exits in the architecture. One of the
patch in this patch series will genarate uapi header files.
In order to make the implementation common across all architect-
ures, add +1 to __NR_syscalls, which will be equal to the last
system call number +1.
Signed-off-by: Firoz Khan <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Philippe Ombredanne <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Kate Stewart <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions