Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Linux emulation



I get a build failure if COMPAT_LINUX is specified without the following
patch.

I guess it should probably be pulled up to netbsd-6.

Robert Swindells

Index: linux_exec_powerpc.c
===================================================================
RCS file: /cvsroot/src/sys/compat/linux/arch/powerpc/linux_exec_powerpc.c,v
retrieving revision 1.23
diff -u -r1.23 linux_exec_powerpc.c
--- linux_exec_powerpc.c        3 Feb 2012 20:11:53 -0000       1.23
+++ linux_exec_powerpc.c        16 Feb 2012 14:09:13 -0000
@@ -62,12 +62,9 @@
  * Alpha and PowerPC specific linux copyargs function.
  */
 int
-ELFNAME2(linux,copyargs)(l, pack, arginfo, stackp, argp)
-       struct lwp *l;
-       struct exec_package *pack;
-       struct ps_strings *arginfo;
-       char **stackp;
-       void *argp;
+ELFNAME2(linux,copyargs)(struct lwp *l, struct exec_package *pack,
+                        struct ps_strings *arginfo, char **stackp,
+                        void *argp)
 {
        size_t len;
        AuxInfo ai[LINUX_ELF_AUX_ENTRIES], *a;



Home | Main Index | Thread Index | Old Index