diff options
author | Namhoon Kim <namhoonk@cs.unc.edu> | 2015-11-09 14:27:20 -0500 |
---|---|---|
committer | Namhoon Kim <namhoonk@cs.unc.edu> | 2015-11-09 14:38:50 -0500 |
commit | 632844f134629f9954c69432f55291d8d3a06cec (patch) | |
tree | 1eaedc9076d0bcbb39dc6c1aba192da929d660c1 /arch/arm/include | |
parent | d126eb2a5053f139e5bc1b37344edd88d32bd033 (diff) |
Fix __NR_syscalls for ARM
__NR_syscalls must be a multiple of 4 for ARM. This patch adds
padding to __NR_syscalls and fixes the missing NR_litmus_syscalls
in include/litmus/unistd_32.h.
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/unistd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 0c462a9e5205..7197bbe4dda1 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h | |||
@@ -19,7 +19,8 @@ | |||
19 | * This may need to be greater than __NR_last_syscall+1 in order to | 19 | * This may need to be greater than __NR_last_syscall+1 in order to |
20 | * account for the padding in the syscall table | 20 | * account for the padding in the syscall table |
21 | */ | 21 | */ |
22 | #define __NR_syscalls (388 + NR_litmus_syscalls) | 22 | #define __NR_syscalls (388 + NR_litmus_syscalls + 3) |
23 | |||
23 | 24 | ||
24 | /* | 25 | /* |
25 | * *NOTE*: This is a ghost syscall private to the kernel. Only the | 26 | * *NOTE*: This is a ghost syscall private to the kernel. Only the |