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: Update MIPS kernel-features.h for removal of __ASSUME_32BITUIDS
Date: Fri, 25 May 2012 19:25:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1205251921390.12575@digraph.polyomino.org.uk> (raw)

Now that I've applied my libc patch to remove pre-2.4 kernel support, I've 
applied this ports patch to remove the obsolete __ASSUME_32BITUIDS macro 
from MIPS kernel-features.h.

HPPA still defines __ASSUME_32BITUIDS; that should be removed (the 
definition is harmless but useless).  
sysdeps/unix/sysv/linux/m68k/chown.c has __ASSUME_32BITUIDS conditionals; 
this macro is no longer defined and the file should be simplified on the 
basis that only the case where it is 1 now matters (or, preferably, moved 
to a syscalls.list entry if possible, since it will reduce to __chown just 
calling the chown32 syscall via INLINE_SYSCALL).

2012-05-25  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/mips/kernel-features.h
	(__ASSUME_32BITUIDS): Remove.

diff --git a/sysdeps/unix/sysv/linux/mips/kernel-features.h b/sysdeps/unix/sysv/linux/mips/kernel-features.h
index 226b449..70f1fc1 100644
--- a/sysdeps/unix/sysv/linux/mips/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/mips/kernel-features.h
@@ -1,6 +1,6 @@
 /* Set flags signalling availability of kernel features based on given
    kernel version number.
-   Copyright (C) 1999-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1999-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,10 +19,6 @@
 
 #include <sgidefs.h>
 
-/* Linux 2.3.39 introduced 32bit UID/GIDs.  Some platforms had 32
-   bit type all along.  */
-#define __ASSUME_32BITUIDS		1
-
 /* MIPS platforms had IPC64 all along.  */
 #define __ASSUME_IPC64		1
 

-- 
Joseph S. Myers
joseph@codesourcery.com

                 reply	other threads:[~2012-05-25 19:25 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.1205251921390.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).