Hi,
while browsing through the network drivers about the etherleak issue i
found that some drivers have:
#ifdef CONFIG_SMP
spin_lock_irqsave(...)
#endif
and some just:
spin_lock_irqsave(...)
or similar.
Which version should be practiced? i thought spinlocks are irrelevant
without SMP so we should use #ifdef to shorten the execution path.
Regards,
Maciej Soltysiak
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:32 EST