public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc atomic_clear_mask build fix
@ 2005-12-09 11:27 Paul Jackson
  0 siblings, 0 replies; only message in thread
From: Paul Jackson @ 2005-12-09 11:27 UTC (permalink / raw)
  To: Andrew Morton; +Cc: nickpiggin, Paul Jackson, linux-kernel

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-of-by: Paul Jackson <pj@sgi.com>

--- 2.6.15-rc3-mm1.orig/arch/sparc/lib/atomic32.c	2005-12-04 01:42:17.636291946 -0800
+++ 2.6.15-rc3-mm1/arch/sparc/lib/atomic32.c	2005-12-09 02:52:45.420360103 -0800
@@ -66,7 +66,6 @@ int atomic_add_unless(atomic_t *v, int a
 	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)
 {

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-09 11:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-09 11:27 [PATCH] sparc atomic_clear_mask build fix Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox