patch-2.3.99-pre6 linux/include/asm-sparc64/elf.h
Next file: linux/include/asm-sparc64/hardirq.h
Previous file: linux/include/asm-sparc64/delay.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Apr 14 09:37:10 2000
- Orig file:
v2.3.99-pre5/linux/include/asm-sparc64/elf.h
- Orig date:
Wed Dec 29 13:13:21 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/include/asm-sparc64/elf.h linux/include/asm-sparc64/elf.h
@@ -1,4 +1,4 @@
-/* $Id: elf.h,v 1.23 1999/12/15 14:19:06 davem Exp $ */
+/* $Id: elf.h,v 1.24 2000/04/14 09:59:04 davem Exp $ */
#ifndef __ASM_SPARC64_ELF_H
#define __ASM_SPARC64_ELF_H
@@ -96,9 +96,9 @@
} \
\
if (ibcs2) \
- current->personality = PER_SVR4; \
+ set_personality(PER_SVR4); \
else if (current->personality != PER_LINUX32) \
- current->personality = PER_LINUX; \
+ set_personality(PER_LINUX); \
} while (0)
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)