> I want to write one module which tells me whether machine is booted with smp/or non-smp kernel.
static void mod_init()
{
#ifdef CONFIG_SMP
printk("SMP Kernel");
#else
printk("Non - SMP Kernel");
#endif
}-- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ