On Mon, Aug 04, 2008 at 06:00:53PM +0200, Geert Uytterhoeven wrote:For sparc I has a similar issue and in the end I decided to put the extra effort in and merged the header files for sparc and sparc64. In this way we then had only a single source to export from and despite the number of files named foo_32.h / foo_64.h it was a net win because David long term anyway plan to merge the two. So to me the obvious solution for m68k / m68knommu is to put in the additional effort required to merge the header files for the two architectures. In the top-level Makefile you will need this trivial patch to make it work: diff --git a/Makefile b/Makefile index f156f40..491ce6b 100644 --- a/Makefile +++ b/Makefile @@ -206,10 +206,12 @@ ifeq ($(ARCH),x86_64) endif # Where to locate arch specific headers +hdr-arch := $(SRCARCH) ifeq ($(ARCH),sparc64) hdr-arch := sparc -else - hdr-arch := $(SRCARCH) +endif +ifeq ($(ARCH),m68knommu) + hdr-arch := m68k endif So we have a script to help us. We know what files are identical and kbuild support is ready. And if we avoid it we have issues with exported headers. So let's merge the two now - there is no reason to wait. And do so in the git tree to make it obvious what happens. Sam --
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Nick Piggin | [patch] my mmu notifier sample driver |
| Sean | Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching |
| Arjan van de Ven | [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
git: | |
| Antonio Almeida | HTB accuracy for high speed |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
