summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-10-16 15:39:57 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-10-16 15:40:05 +0200
commit0b59268285ca6cdc46191f2995bf632088e3e277 (patch)
tree91f95eeb809c5fe13d0ba5b055e26879f9ec9357 /include/asm-m68k
parent04ab591808565f968d4406f6435090ad671ebdab (diff)
downloadlinux-0b59268285ca6cdc46191f2995bf632088e3e277.tar.gz
linux-0b59268285ca6cdc46191f2995bf632088e3e277.tar.bz2
linux-0b59268285ca6cdc46191f2995bf632088e3e277.zip
[PATCH] remove unused ibcs2/PER_SVR4 in SET_PERSONALITY
The SET_PERSONALITY macro is always called with a second argument of 0. Remove the ibcs argument and the various tests to set the PER_SVR4 personality. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-m68k')
-rw-r--r--include/asm-m68k/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/elf.h b/include/asm-m68k/elf.h
index 14ea42152b97..0b0f49eb876b 100644
--- a/include/asm-m68k/elf.h
+++ b/include/asm-m68k/elf.h
@@ -114,6 +114,6 @@ typedef struct user_m68kfp_struct elf_fpregset_t;
#define ELF_PLATFORM (NULL)
-#define SET_PERSONALITY(ex, ibcs2) set_personality((ibcs2)?PER_SVR4:PER_LINUX)
+#define SET_PERSONALITY(ex) set_personality(PER_LINUX)
#endif