On Friday 28 January 2005 20:37, Alex wrote: > I see in init/main.c the following functions: > > static int __init debug_kernel(char *str) > { > if (*str) > return 0; > console_loglevel = 10; > return 1; > } > > static int __init quiet_kernel(char *str) > { > if (*str) > return 0; > console_loglevel = 4; > return 1; > } > > __setup("debug", debug_kernel); > __setup("quiet", quiet_kernel); > > Are those functions to be called "manually" (where ?) or > they get called "automatically" upon setting CONFIG_DEBUG_KERNEL to > "y" in .config ? Those 2 routines are called at boot time if you specify the corresponding "debug" or "quiet" arguments to the kernel from the boot loader. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/