diff options
author | Yang Yang <yang.yang29@zte.com.cn> | 2022-03-29 05:57:38 +0300 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2023-02-14 20:37:17 +0300 |
commit | d6e595792fb6c02c220bf68b50cf7649b1f05e15 (patch) | |
tree | ffe8c6632302b5cbe304f29b2927073c2dd137c8 /arch/alpha/include | |
parent | 19fa21d74704a7ee1158337ccccf19f8f6d82719 (diff) | |
download | linux-d6e595792fb6c02c220bf68b50cf7649b1f05e15.tar.xz |
alpha: replace NR_SYSCALLS by NR_syscalls
Reference to other arch likes x86_64 or arm64 to do this replacement.
To solve compile error when using NR_syscalls in kernel[1].
[1] https://lore.kernel.org/all/202203270449.WBYQF9X3-lkp@intel.com/
Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/include')
-rw-r--r-- | arch/alpha/include/asm/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h index 986f5da9b7d8..caabd92ea709 100644 --- a/arch/alpha/include/asm/unistd.h +++ b/arch/alpha/include/asm/unistd.h @@ -4,7 +4,7 @@ #include <uapi/asm/unistd.h> -#define NR_SYSCALLS __NR_syscalls +#define NR_syscalls __NR_syscalls #define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_OLD_READDIR |