[PATCH] sparc atomic_clear_mask build fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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 <[email protected]> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux