diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-09 17:02:48 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-03-03 12:52:47 +0100 |
commit | bf956afeaaf2f466111e72d988e2dc41ef83be9a (patch) | |
tree | a9a60ac71c43eed1fde4e88300da16ab43684c9f /sysdeps/unix/sysv/linux/m68k | |
parent | e76d4fb014bc7675199c0c00931b8508830a6343 (diff) | |
download | glibc-bf956afeaaf2f466111e72d988e2dc41ef83be9a.tar.gz glibc-bf956afeaaf2f466111e72d988e2dc41ef83be9a.tar.xz glibc-bf956afeaaf2f466111e72d988e2dc41ef83be9a.zip |
m68k: getpagesize syscall number is always available
Due to the built-in tables, __NR_getpagesize is always defined. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/m68k')
-rw-r--r-- | sysdeps/unix/sysv/linux/m68k/getpagesize.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/getpagesize.c b/sysdeps/unix/sysv/linux/m68k/getpagesize.c index b57a03f7d3..99c83313d2 100644 --- a/sysdeps/unix/sysv/linux/m68k/getpagesize.c +++ b/sysdeps/unix/sysv/linux/m68k/getpagesize.c @@ -28,19 +28,15 @@ int __getpagesize (void) { -#ifdef __NR_getpagesize int result; -#endif if (GLRO(dl_pagesize) != 0) return GLRO(dl_pagesize); -#ifdef __NR_getpagesize result = INTERNAL_SYSCALL_CALL (getpagesize); /* The only possible error is ENOSYS. */ if (!INTERNAL_SYSCALL_ERROR_P (result)) return result; -#endif return 4096; } |