From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:42731 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752587Ab1GaW6F (ORCPT ); Sun, 31 Jul 2011 18:58:05 -0400 Date: Sun, 31 Jul 2011 23:58:01 +0100 From: Al Viro Subject: Re: [PATCH 1/5] um: Use __i386__ in ifdef for vsyscall exports, not SUBARCH_i386 Message-ID: <20110731225801.GD2203@ZenIV.linux.org.uk> References: <1312066693.22074.50.camel@i7.infradead.org> <1312066923.22074.53.camel@i7.infradead.org> <1312151063.18010.25.camel@i7.infradead.org> <20110731224834.GC2203@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110731224834.GC2203@ZenIV.linux.org.uk> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: David Woodhouse Cc: richard -rw- weinberger , Arnaud Lacombe , "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net On Sun, Jul 31, 2011 at 11:48:35PM +0100, Al Viro wrote: > On Sun, Jul 31, 2011 at 11:24:21PM +0100, David Woodhouse wrote: > > On Mon, 2011-08-01 at 00:11 +0200, richard -rw- weinberger wrote: > > > > > > Why do we need this? > > > > The arch/x86_64 and arch/i386 directories were removed from the kernel > > four years ago, and replaced by the 'x86' arch. UML is still dependent > > on the legacy SUBARCH=i386 and SUBARCH=x86_64 settings, and the patch > > sequence I just posted makes it cope with SUBARCH=x86. > > Hell, no. If you want to do it, do it the right way. See #x86_merge in > git://git.kernel.org/pub/scm/linux/kernel/git/viro/um-header.git/ FWIW, the next step (still not pushed there) is to move arch/um/sys-x86 to arch/x86/um, with arch/um/os-Linux/sys-x86 becoming arch/x86/um/os-Linux, Kconfig.x86 moving to arch/x86/um/Kconfig and Makefile-x86 - to arch/x86/um/Makefile.defs. Next after that - arch/powerpc/um (and yes, it means resurrected uml/ppc port; for now - only ppc32, since I have no ppc64 boxen to test on). From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1QnexZ-0000Xz-Ik for user-mode-linux-devel@lists.sourceforge.net; Sun, 31 Jul 2011 22:58:13 +0000 Received: from zeniv.linux.org.uk ([195.92.253.2]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1QnexY-0005bE-4O for user-mode-linux-devel@lists.sourceforge.net; Sun, 31 Jul 2011 22:58:13 +0000 Date: Sun, 31 Jul 2011 23:58:01 +0100 From: Al Viro Message-ID: <20110731225801.GD2203@ZenIV.linux.org.uk> References: <1312066693.22074.50.camel@i7.infradead.org> <1312066923.22074.53.camel@i7.infradead.org> <1312151063.18010.25.camel@i7.infradead.org> <20110731224834.GC2203@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110731224834.GC2203@ZenIV.linux.org.uk> List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net Subject: Re: [uml-devel] [PATCH 1/5] um: Use __i386__ in ifdef for vsyscall exports, not SUBARCH_i386 To: David Woodhouse Cc: user-mode-linux-devel@lists.sourceforge.net, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaud Lacombe , "H. Peter Anvin" On Sun, Jul 31, 2011 at 11:48:35PM +0100, Al Viro wrote: > On Sun, Jul 31, 2011 at 11:24:21PM +0100, David Woodhouse wrote: > > On Mon, 2011-08-01 at 00:11 +0200, richard -rw- weinberger wrote: > > > > > > Why do we need this? > > > > The arch/x86_64 and arch/i386 directories were removed from the kernel > > four years ago, and replaced by the 'x86' arch. UML is still dependent > > on the legacy SUBARCH=i386 and SUBARCH=x86_64 settings, and the patch > > sequence I just posted makes it cope with SUBARCH=x86. > > Hell, no. If you want to do it, do it the right way. See #x86_merge in > git://git.kernel.org/pub/scm/linux/kernel/git/viro/um-header.git/ FWIW, the next step (still not pushed there) is to move arch/um/sys-x86 to arch/x86/um, with arch/um/os-Linux/sys-x86 becoming arch/x86/um/os-Linux, Kconfig.x86 moving to arch/x86/um/Kconfig and Makefile-x86 - to arch/x86/um/Makefile.defs. Next after that - arch/powerpc/um (and yes, it means resurrected uml/ppc port; for now - only ppc32, since I have no ppc64 boxen to test on). ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel