patch-2.3.99-pre6 linux/include/asm-i386/elf.h
Next file: linux/include/asm-i386/hardirq.h
Previous file: linux/include/asm-i386/bugs.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Apr 26 15:29:43 2000
- Orig file:
v2.3.99-pre5/linux/include/asm-i386/elf.h
- Orig date:
Wed Aug 18 16:45:10 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-i386/elf.h linux/include/asm-i386/elf.h
@@ -94,8 +94,7 @@
#define ELF_PLATFORM ("i386\0i486\0i586\0i686"+((boot_cpu_data.x86-3)*5))
#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
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)