patch-2.3.99-pre6 linux/include/asm-mips/elf.h
Next file: linux/include/asm-mips64/elf.h
Previous file: linux/include/asm-m68k/elf.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Apr 13 08:11:49 2000
- Orig file:
v2.3.99-pre5/linux/include/asm-mips/elf.h
- Orig date:
Sat Feb 26 22:31:56 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-mips/elf.h linux/include/asm-mips/elf.h
@@ -75,8 +75,7 @@
#define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3)
#ifdef __KERNEL__
-#define SET_PERSONALITY(ex,ibcs2) \
- current->personality = (ibcs2 ? PER_SVR4 : PER_LINUX)
+#define SET_PERSONALITY(ex, ibcs2) set_personality((ibcs2)?PER_SVR4:PER_LINUX)
#endif
#endif /* __ASM_MIPS_ELF_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)