From bf956afeaaf2f466111e72d988e2dc41ef83be9a Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sun, 9 Feb 2020 17:02:48 +0100 Subject: [PATCH] m68k: getpagesize syscall number is always available Due to the built-in tables, __NR_getpagesize is always defined. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/m68k/getpagesize.c | 4 ---- 1 file changed, 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; }