Messages in this thread | | | Subject | Re: [PATCH 1/4] atomic_cmpxchg and friends | From | Alan Cox <> | Date | Sun, 25 Sep 2005 22:09:31 +0100 |
| |
+#define atomic_cmpxchg(v, old, new) ((int)cmpxchg(&((v)->counter), old, new)) +
Not all X86 has cmpxchg so the code there won't compile for all cases.
- 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/
| |