From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262293AbUDLPgl (ORCPT ); Mon, 12 Apr 2004 11:36:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262381AbUDLPgl (ORCPT ); Mon, 12 Apr 2004 11:36:41 -0400 Received: from [212.5.174.154] ([212.5.174.154]:60102 "EHLO zelcom.ru") by vger.kernel.org with ESMTP id S262293AbUDLPgZ (ORCPT ); Mon, 12 Apr 2004 11:36:25 -0400 Date: Mon, 12 Apr 2004 18:36:09 +0400 Message-ID: <87hdvpp8km.wl@canopus.ns.zel.ru> From: Samium Gromoff To: linux-kernel@vger.kernel.org Subject: [2.6.5][MIPS] oneliners somehow not made it into mainline [3/3] References: <87k70lp8q8.wl@canopus.ns.zel.ru> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Without this one it fails to run the earlyinitcall stuff, and hence explodes at some point. diff -urN -X './#cdiff.pattern' ./linux-2.6.5/include/linux/init.h ./mc-2.6.5/include/linux/init.h --- ./linux-2.6.5/include/linux/init.h 2004-04-12 16:07:45.000000000 +0400 +++ ./mc-2.6.5/include/linux/init.h 2004-04-12 18:05:28.000000000 +0400 @@ -83,6 +83,7 @@ static initcall_t __initcall_##fn __attribute_used__ \ __attribute__((__section__(".initcall" level ".init"))) = fn +#define early_initcall(fn) __define_initcall(".early1",fn) #define core_initcall(fn) __define_initcall("1",fn) #define postcore_initcall(fn) __define_initcall("2",fn) #define arch_initcall(fn) __define_initcall("3",fn)