How does __setup() work?

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

 



I'm trying to track down why ide_setup() doesn't seem to be called on
my system.  I'm using KGDB to put breakpoints in ide_setup(), but they
never get hit.  I see that ide_setup is defined as:

int __init ide_setup (char *s)
{
...

and there is also a line:

__setup("", ide_setup);

What do these macros do?  How can I get KGDB to break in ide_setup()?

Thanks,
Dave

--
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