Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750898AbWJ2KWF (ORCPT ); Sun, 29 Oct 2006 05:22:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751029AbWJ2KWE (ORCPT ); Sun, 29 Oct 2006 05:22:04 -0500 Received: from asia.telenet-ops.be ([195.130.137.74]:13009 "EHLO asia.telenet-ops.be") by vger.kernel.org with ESMTP id S1750923AbWJ2KWB (ORCPT ); Sun, 29 Oct 2006 05:22:01 -0500 Date: Sun, 29 Oct 2006 11:21:51 +0100 (CET) From: Geert Uytterhoeven To: Andrew Morton Cc: Haavard Skinnemoen , Pavel Machek , Greg KH , Stephen Hemminger , Matthew Wilcox , Adrian Bunk , Linus Torvalds , Linux Kernel Mailing List , linux-pci@atrey.karlin.mff.cuni.cz, Geert Uytterhoeven Subject: Re: vmlinux.lds: consolidate initcall sections In-Reply-To: <1defaf580610271231p37aceacbl6d96f91cf390fc4a@mail.gmail.com> Message-ID: References: <20061026224541.GQ27968@stusta.de> <20061027010252.GV27968@stusta.de> <20061027012058.GH5591@parisc-linux.org> <20061026182838.ac2c7e20.akpm@osdl.org> <20061026191131.003f141d@localhost.localdomain> <20061027170748.GA9020@kroah.com> <20061027172219.GC30416@elf.ucw.cz> <20061027113908.4a82c28a.akpm@osdl.org> <20061027114144.f8a5addc.akpm@osdl.org> <1defaf580610271231p37aceacbl6d96f91cf390fc4a@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1911 Lines: 64 On Fri, 27 Oct 2006, Haavard Skinnemoen wrote: > On 10/27/06, Andrew Morton wrote: > > From: Andrew Morton > > > > Add a vmlinux.lds.h helper macro for defining the eight-level initcall > > table, > > teach all the architectures to use it. > > Please include AVR32 as well while you're at it ;) And m68k :-) Signed-Off-By: Geert Uytterhoeven --- linux/arch/m68k/kernel/vmlinux-std.lds 2006-09-25 22:34:27.000000000 +0200 +++ linux-m68k/arch/m68k/kernel/vmlinux-std.lds 2006-10-29 11:15:18.000000000 +0100 @@ -54,13 +54,7 @@ SECTIONS __setup_end = .; __initcall_start = .; .initcall.init : { - *(.initcall1.init) - *(.initcall2.init) - *(.initcall3.init) - *(.initcall4.init) - *(.initcall5.init) - *(.initcall6.init) - *(.initcall7.init) + INITCALLS } __initcall_end = .; __con_initcall_start = .; --- linux/arch/m68k/kernel/vmlinux-sun3.lds 2006-09-25 22:34:27.000000000 +0200 +++ linux-m68k/arch/m68k/kernel/vmlinux-sun3.lds 2006-10-29 11:14:50.000000000 +0100 @@ -48,13 +48,7 @@ __init_begin = .; __setup_end = .; __initcall_start = .; .initcall.init : { - *(.initcall1.init) - *(.initcall2.init) - *(.initcall3.init) - *(.initcall4.init) - *(.initcall5.init) - *(.initcall6.init) - *(.initcall7.init) + INITCALLS } __initcall_end = .; __con_initcall_start = .; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - 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/