* [patch] s390: remove unused macros from binfmt_elf32.c
@ 2006-06-28 14:13 Martin Schwidefsky
0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2006-06-28 14:13 UTC (permalink / raw)
To: linux-kernel
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
[S390] remove unused macros from binfmt_elf32.c
The two macros NEW_TO_OLD_UID and NEW_TO_OLD_GID in binfmt_elf32.c
are not used by any code. Remove them.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
arch/s390/kernel/binfmt_elf32.c | 5 -----
1 files changed, 5 deletions(-)
diff -urpN linux-2.6/arch/s390/kernel/binfmt_elf32.c linux-2.6-patched/arch/s390/kernel/binfmt_elf32.c
--- linux-2.6/arch/s390/kernel/binfmt_elf32.c 2006-06-18 03:49:35.000000000 +0200
+++ linux-2.6-patched/arch/s390/kernel/binfmt_elf32.c 2006-06-28 14:43:52.000000000 +0200
@@ -177,11 +177,6 @@ struct elf_prpsinfo32
#include <linux/highuid.h>
-#undef NEW_TO_OLD_UID
-#undef NEW_TO_OLD_GID
-#define NEW_TO_OLD_UID(uid) ((uid) > 65535) ? (u16)overflowuid : (u16)(uid)
-#define NEW_TO_OLD_GID(gid) ((gid) > 65535) ? (u16)overflowgid : (u16)(gid)
-
#define elf_addr_t u32
/*
#define init_elf_binfmt init_elf32_binfmt
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-28 14:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-28 14:13 [patch] s390: remove unused macros from binfmt_elf32.c Martin Schwidefsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®