Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756928AbYHDOfm (ORCPT ); Mon, 4 Aug 2008 10:35:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753624AbYHDOfc (ORCPT ); Mon, 4 Aug 2008 10:35:32 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:51855 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753551AbYHDOfb convert rfc822-to-8bit (ORCPT ); Mon, 4 Aug 2008 10:35:31 -0400 From: Arnd Bergmann To: Geert Uytterhoeven Subject: Re: kbuild now support arch/$ARCH/include - time for ARCHs to convert Date: Mon, 4 Aug 2008 16:35:11 +0200 User-Agent: KMail/1.9.9 Cc: Greg Ungerer , Sam Ravnborg , linux arch , LKML , Linux/m68k References: <20080728200500.GA14284@uranus.ravnborg.org> <4892A719.5090302@snapgear.com> In-Reply-To: X-Face: I@=L^?./?$U,EK.)V[4*>`zSqm0>65YtkOe>TFD'!aw?7OVv#~5xd\s,[~w]-J!)|%=]>=?utf-8?q?+=0A=09=7EohchhkRGW=3F=7C6=5FqTmkd=5Ft=3FLZC=23Q-=60=2E=60Y=2Ea=5E?= =?utf-8?q?3zb?=) =?utf-8?q?+U-JVN=5DWT=25cw=23=5BYo0=267C=26bL12wWGlZi=0A=09=7EJ=3B=5Cwg?= =?utf-8?q?=3B3zRnz?=,J"CT_)=\H'1/{?SR7GDu?WIopm.HaBG=QYj"NZD_[zrM\Gip^U MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200808041635.11854.arnd@arndb.de> X-Provags-ID: V01U2FsdGVkX18dBsPbTO9KgFC3x0wlR7vQFTBy78b8VJOJ0Bu IxO9QcNQctd5TeCp+1MLFYcpMqJamm177PPyGJmw1YUUUnckNv 5wtUHPcHhD4jMSEoYQCBQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1567 Lines: 36 On Sunday 03 August 2008, Geert Uytterhoeven wrote: > There seem to be 3 classes of m68knommu header files: > ? 1. Plain files (some of them may be (nearly) identical copies of the > ? ? ?m68k variants, For reference, I found the files auxvec.h, device.h, emergency-restart.h, futex.h, ioctl.h, irq_regs.h, kdebug.h, mutex.h and topology.h to be entirely identical, so you may remove the m68knommu variants with your approach. > ? 2. Files that just include the m68k variant, > ? 3. Files that include the m68k variant and do something more (pci.h and > ? ? ?setup.h). > > Since I don't think we want to do the m68k/m68knommu merge right now > (Sorry Arnd, I'll keep your script in mind anyway!), the simplest way is to: > - Remove all files from class 2, and add to the Makefile: Does this work with the exported headers? I guess it should if you always use the m68k exports for m68knommu as well, but if that's possible is is a question you haven't answered yet. Right now, you would remove the following exported headers from m68knommu: auxvec.h, errno.h, fcntl.h, ioctl.h, ioctls.h, ipcbuf.h, mman.h, msgbuf.h, poll.h, posix_types.h, resource.h, sembuf.h, shmbuf.h, socket.h, stat.h, statfs.h, termbits.h. If you don't want to use the m68k exports on m68knomu, you'd also have to duplicate all these. Arnd <>< -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/