Hardware restriction. Somebody read that "all locks can be implemented
in terms of a single hardware primitive" and believed it :(. The only
atomic operation on parisc is load and clear word. According to the
comments in asm-parisc/atomic.h, atomic_set should not require a lock,
but it is coded to use one. Atomic add/sub obviously needs a lock.
-
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/