From owner-freebsd-current Mon Oct 1 7:25: 8 2001 Delivered-To: freebsd-current@freebsd.org Received: from lamovida.it (www.lamovida.it [212.110.162.163]) by hub.freebsd.org (Postfix) with ESMTP id 5F1E437B413 for ; Mon, 1 Oct 2001 07:24:13 -0700 (PDT) Received: by lamovida.it (Postfix, from userid 1000) id 6C9D916D; Mon, 1 Oct 2001 16:24:12 +0200 (CEST) Date: Mon, 1 Oct 2001 16:24:12 +0200 From: Andrea Campi To: current@freebsd.org Subject: sys/compat/linux/linux_util.h needs KSE patch Message-ID: <20011001162412.A96470@webcom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Subject says all; I think this patch should be applied. It's for clarity only, no functional change at all. Sorry for the broken whitespaces in the patch but I have to send mail from a remote ssh box etc.. long story, anyway if anybody is willing to commit I can prepare a better patch. Bye, Andrea --- linux_util.h.bak Mon Oct 1 16:20:31 2001 +++ linux_util.h Mon Oct 1 16:21:25 2001 @@ -79,18 +79,18 @@ int linux_emul_find __P((struct thread *, caddr_t *, const char *, char *, char **, int)); -#define CHECKALT(p, sgp, path, i) \ +#define CHECKALT(td, sgp, path, i) \ do { \ int _error; \ \ - _error = linux_emul_find(p, sgp, linux_emul_path, path, \ + _error = linux_emul_find(td, sgp, linux_emul_path, path,\ &path, i); \ if (_error == EFAULT) \ return (_error); \ } while (0) -#define CHECKALTEXIST(p, sgp, path) CHECKALT(p, sgp, path, 0) -#define CHECKALTCREAT(p, sgp, path) CHECKALT(p, sgp, path, 1) +#define CHECKALTEXIST(td, sgp, path) CHECKALT(td, sgp, path, 0) +#define CHECKALTCREAT(td, sgp, path) CHECKALT(td, sgp, path, 1) #define DUMMY(s) \ int \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message