git: 9front

Download patch

ref: 7becd97b10a6a4b1911295fbed93a99669cca977
parent: 59aac131a2ea5df7f344726305dacbf20bd9f763
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 9 17:48:58 EDT 2015

kernel: move "setargs" field in Proc structure after "nargs" and "args"

--- a/sys/src/9/port/portdat.h
+++ b/sys/src/9/port/portdat.h
@@ -651,6 +651,7 @@
 	char	*user;
 	char	*args;
 	int	nargs;		/* number of bytes of args */
+	int	setargs;	/* process changed its args */
 	Proc	*rnext;		/* next process in run queue */
 	Proc	*qnext;		/* next process on queue for a QLock */
 	QLock	*qlock;		/* addr of qlock being queued for DEBUG */
@@ -765,8 +766,6 @@
 
 	uintptr	qpc;		/* pc calling last blocking qlock */
 	QLock	*eql;		/* interruptable eqlock */
-
-	int	setargs;	/* process changed its args */
 
 	void	*ureg;		/* User registers for notes */
 	void	*dbgreg;	/* User registers for devproc */
--