* Update MIPS kernel-features.h for removal of __ASSUME_32BITUIDS
@ 2012-05-25 19:25 Joseph S. Myers
0 siblings, 0 replies; only message in thread
From: Joseph S. Myers @ 2012-05-25 19:25 UTC (permalink / raw)
To: libc-ports
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-25 19:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-25 19:25 Update MIPS kernel-features.h for removal of __ASSUME_32BITUIDS Joseph S. Myers
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).