Charles 'Buck' Krasic wrote: > > Conceptually, I think my code is valid. Am I missing an obvious > reason why spin_trylock shouldn't be allowed from an interrupt? >
spin_trylock() is a nop on UP builds. That's a feature, otherwise we
would need full spinlocks even on uniprocessors builds.
If you really need it then look at linux/net/ipv4/icmp.c.
--
Manfred
-
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.tux.org/lkml/