- 05 Dec, 2006 1 commit
-
-
Paul Mundt authored
gcc4 gets a bit pissy about the outputs: include/asm/atomic.h: In function 'atomic_add': include/asm/atomic.h:37: error: invalid lvalue in asm statement include/asm/atomic.h:30: error: invalid lvalue in asm output 1 ... this ended up being a thinko anyways, so just fix it up. Verified for proper behaviour with the older toolchains, too. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 27 Sep, 2006 1 commit
-
-
Paul Mundt authored
SH-4A implements LL/SC instructions, so we implement a simple set of atomic operations using these. Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 26 Sep, 2006 1 commit
-
-
Paul Mundt authored
We had quite a bit of whitespace damage, clean most of it up.. Signed-off-by:
Stuart Menefy <stuart.menefy@st.com> Signed-off-by:
Arthur Othieno <a.othieno@bluewin.ch> Signed-off-by:
Paul Mundt <lethal@linux-sh.org>
-
- 09 Jan, 2006 1 commit
-
-
Ingo Molnar authored
add atomic_xchg() to all the architectures. Needed by the new mutex code. Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Arjan van de Ven <arjan@infradead.org>
-
- 06 Jan, 2006 1 commit
-
-
Christoph Lameter authored
Several counters already have the need to use 64 atomic variables on 64 bit platforms (see mm_counter_t in sched.h). We have to do ugly ifdefs to fall back to 32 bit atomic on 32 bit platforms. The VM statistics patch that I am working on will also make more extensive use of atomic64. This patch introduces a new type atomic_long_t by providing definitions in asm-generic/atomic.h that works similar to the c "long" type. Its 32 bits on 32 bit platforms and 64 bits on 64 bit platforms. Also cleans up the determination of the mm_counter_t in sched.h. Signed-off-by:
Christoph Lameter <clameter@sgi.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 13 Nov, 2005 2 commits
-
-
Nick Piggin authored
Introduce an atomic_inc_not_zero operation. Make this a special case of atomic_add_unless because lockless pagecache actually wants atomic_inc_not_negativeone due to its offset refcount. Signed-off-by:
Nick Piggin <npiggin@suse.de> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Nick Piggin authored
Introduce an atomic_cmpxchg operation. Signed-off-by:
Nick Piggin <npiggin@suse.de> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 16 Apr, 2005 1 commit
-
-
Linus Torvalds authored
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
-