Linus Torvalds <torvalds@linux-foundation.org> wrote:> > +#define atomic64_read(v) ((v)->counter)> > +#define atomic64_set(v, i) (((v)->counter) = (i))> > These seem to be buggy.Good point. I should be doing inline asm with LDD and STD instructions.David