#ifdef SMP
spinlock_t lock_xxx ...
#endif
#ifdef SMP
spin_lock_irqsave(&lock_xxx,flags);
#else
spin_lock_irqsave(NULL,flags);
#endif
without side effects and is that worth it ?
I don't like declaring a global variable unnecessary.
TIA
Oliver Neukum
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html