summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/atomic32.c
diff options
context:
space:
mode:
authorPaul Jackson <pj@sgi.com>2005-12-12 14:42:31 -0800
committerDavid S. Miller <davem@davemloft.net>2005-12-12 14:42:31 -0800
commit1d66a79dc8dd892c0db04396a0b1d05e0f53fe4f (patch)
treebce1150d180d02982c5462e40cccdb7bb2af0dd2 /arch/sparc/lib/atomic32.c
parent2c27d4e53043de1c821e0af09e08dee3e92a01d6 (diff)
downloadop-kernel-dev-1d66a79dc8dd892c0db04396a0b1d05e0f53fe4f.zip
op-kernel-dev-1d66a79dc8dd892c0db04396a0b1d05e0f53fe4f.tar.gz
[SPARC]: atomic_clear_mask build fix
This fixes one build error introduced in sparc with the patch of Oct 30, resent Nov 4 "[patch 3/5] atomic: atomic_inc_not_zero" I still can't get sparc to build, but at least it gets further after I remove this line. Apparently, this change was agreed to by Andrew and Nick on Nov 14, but everyone thought someone else was doing it. Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/atomic32.c')
-rw-r--r--arch/sparc/lib/atomic32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc/lib/atomic32.c b/arch/sparc/lib/atomic32.c
index cb3cf0f..de84f85 100644
--- a/arch/sparc/lib/atomic32.c
+++ b/arch/sparc/lib/atomic32.c
@@ -66,7 +66,6 @@ int atomic_add_unless(atomic_t *v, int a, int u)
return ret != u;
}
-static inline void atomic_clear_mask(unsigned long mask, unsigned long *addr)
/* Atomic operations are already serializing */
void atomic_set(atomic_t *v, int i)
{
OpenPOWER on IntegriCloud