linux-mips
[Top] [All Lists]

Re: early_initcall replacement

To: dejo <riamae@gmail.com>
Subject: Re: early_initcall replacement
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 28 Feb 2007 02:47:56 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <d28769380702271755u675241b3vb8b265120a2c70ca@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <d28769380702271755u675241b3vb8b265120a2c70ca@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Wed, Feb 28, 2007 at 09:55:28AM +0800, dejo wrote:

> Hello! I would like to ask what replaced early_initcall in the 
> 2.6.18.4kernel.

What you need to change is

 o remove the early_initcall() line.
 o rename the function invoked by early_initcall to plat_mem_setup and
   change its prototype to: "void __init plat_mem_setup(void)".

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: early_initcall replacement, Ralf Baechle <=