A small patch for 1.3.64...

Topi Miettinen (Topi.Miettinen@ml.tele.fi)
Thu, 15 Feb 1996 20:33:43 +0200


My first kernel patch, unbelievable.

The patch is against 1.3.64. Without it, binfm_elf.c does not compile
on a sparc. Other architectures do not have edx, right?

diff -u linux/fs/binfmt_elf.c.old linux/fs/binfmt_elf.c
--- linux/fs/binfmt_elf.c.old Thu Feb 15 20:14:09 1996
+++ linux/fs/binfmt_elf.c Thu Feb 15 20:14:47 1996
@@ -688,7 +688,9 @@
that have been loaded before the code runs.

A value of 0 tells we have no such handler. */
+#ifdef __i386__
regs->edx = 0;
+#endif

start_thread(regs, elf_entry, bprm->p);
if (current->flags & PF_PTRACED)

-Topi

GE/IT d s++:- a- C++$ ULS++++$ P++$>+++ L++>+++ E W+>+++ N+ !o K? !w !O
!M !V PS+ PE++ Y++ PGP++ t+ 5? !X !R tv@ b++ DI D+ G e+++ h--- r+++ y?