From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 28 14:47:41 2013 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7841B2C6 for ; Mon, 28 Jan 2013 14:47:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1D7D3 for ; Mon, 28 Jan 2013 14:47:41 +0000 (UTC) Received: from pakbsde14.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 92163B922 for ; Mon, 28 Jan 2013 09:47:40 -0500 (EST) To: emulation@freebsd.org Subject: [PATCH] Move MI bits out of MD linux.h From: John Baldwin Date: Mon, 28 Jan 2013 09:47:39 -0500 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201301280947.39690.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 28 Jan 2013 09:47:40 -0500 (EST) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 14:47:41 -0000 This patch attempts to reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h by moving bits that are MI out into headers in compat/linux. I only moved constants that were defined in MI headers in Linux itself, not necessarily all constants that have the same value. Further reduction could be possible if we wanted to make a linux-i386.h that these two headers could share, but that would be a separate project. http://www.FreeBSD.org/~jhb/patches/linux_mi.patch -- John Baldwin