summaryrefslogtreecommitdiff
path: root/arch/ia64/include/uapi
diff options
context:
space:
mode:
authorFiroz Khan <firoz.khan@linaro.org>2018-11-13 12:27:41 +0530
committerTony Luck <tony.luck@intel.com>2018-11-13 08:55:58 -0800
commitd272a735ef54bf0fbf62673f160bd3d335d1a510 (patch)
tree53f95a05681a2de78061f90adfdf74a0dfe64d52 /arch/ia64/include/uapi
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
ia64: add __NR_old_getpagesize in uapi header file
sys_getpagesize entry is present in kernel/entry.S file to support for old user interface. So we need to add an uapi entry too. Add __NR_old_getpagesize in uapi/asm/unistd.h in order to not break old user space as it is reserved for backwards compatibility with old __NR_getpagesize. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/include/uapi')
-rw-r--r--arch/ia64/include/uapi/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/include/uapi/asm/unistd.h b/arch/ia64/include/uapi/asm/unistd.h
index 5fe71d4a43de..94b835cc4f11 100644
--- a/arch/ia64/include/uapi/asm/unistd.h
+++ b/arch/ia64/include/uapi/asm/unistd.h
@@ -161,7 +161,7 @@
#define __NR_nanosleep 1168
#define __NR_nfsservctl 1169
#define __NR_prctl 1170
-/* 1171 is reserved for backwards compatibility with old __NR_getpagesize */
+#define __NR_old_getpagesize 1171
#define __NR_mmap2 1172
#define __NR_pciconfig_read 1173
#define __NR_pciconfig_write 1174