what's wrong with using existing atomic_XXX() macros? They are explicitly
__volatile__ and use incl without performance penalty on UP (because LOCK
is nop on UP and lock prefix on SMP).
Just an idea.
Tigran.
-
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/