lkml.org 
[lkml]   [2005]   [Dec]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 9 Dec 2005 03:27:01 -0800 (PST)
FromPaul Jackson <>
Subject[PATCH] 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-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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-09 12:29    [from the cache]
©2003-2008