From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753110Ab1GaW6O (ORCPT ); Sun, 31 Jul 2011 18:58:14 -0400 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 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 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> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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).