Re: __setup macro?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/14/05, Clemens Buchacher <drizzd@xxxxxx> wrote:
> On Thu, Jul 14, 2005 at 03:56:17AM -0700, NAHieu wrote:
> > I dont see how it is called (?)
> 
> It's called in init_main.c:obsolete_checksetup, which uses the starting
> address of the .init.setup section __setup_start (as defined in
> arch/*/kernel/vmlinux.lds.S) to iterate the obs_kernel_param structures.

great. Now I see that __setup is used to handle options (of built-in
module) passed via command line for kernel.

But why they call this "obsolete"? That means it will be removed in
the future? (for me that is the meaning of "obsolete" )

Thank you, Clemens.
Hieu

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux