public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: "Joseph S. Myers" <joseph@codesourcery.com>
To: libc-ports@sourceware.org
Subject: Remove __ASSUME_NEW_GETRLIMIT_SYSCALL for ARM
Date: Fri, 25 May 2012 22:34:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1205252232230.12575@digraph.polyomino.org.uk> (raw)

I've applied this patch to remove the __ASSUME_NEW_GETRLIMIT_SYSCALL 
definition for ARM, now that macro is no longer used.  Tile and m68k 
should similarly have their definitions of it removed.

diff --git a/ChangeLog.arm b/ChangeLog.arm
index 778b4d7..7b253db 100644
--- a/ChangeLog.arm
+++ b/ChangeLog.arm
@@ -1,3 +1,8 @@
+2012-05-25  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/arm/kernel-features.h
+	(__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove.
+
 2012-05-25  Richard Henderson  <rth@twiddle.net>
 
 	* sysdeps/arm/dl-irel.h (elf_ifunc_invoke): Pass dl_hwcap.
diff --git a/sysdeps/unix/sysv/linux/arm/kernel-features.h b/sysdeps/unix/sysv/linux/arm/kernel-features.h
index 644d9ff..3eeb075 100644
--- a/sysdeps/unix/sysv/linux/arm/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/arm/kernel-features.h
@@ -22,11 +22,6 @@
 # define __ASSUME_UTIMES	1
 #endif
 
-/* The new getrlimit syscall was added sometime before 2.4.6.  */
-#if __LINUX_KERNEL_VERSION >= 132102
-#define __ASSUME_NEW_GETRLIMIT_SYSCALL	1
-#endif
-
 /* On ARM the truncate64/ftruncate64/mmap2/stat64/lstat64/fstat64
    syscalls were introduced in 2.3.35.  */
 #if __LINUX_KERNEL_VERSION >= 131875

-- 
Joseph S. Myers
joseph@codesourcery.com

                 reply	other threads:[~2012-05-25 22:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.1205252232230.12575@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=libc-ports@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).