Commit:     74e61dee2a98b5e538ee1448ca803fc0ad8e307f
Parent:     b82f87f6d40f944a591d8d36c0fed2d4374efcb7
Author:     Robert Reif <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 26 19:10:43 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Mar 26 21:49:13 2007 -0700

    [SPARC32]: Fix SMP build regression
    commit b19cbe2a1695c09c74f83646c4b82b51123b3690 [BRIDGE]: Fix fdb RCU
    breaks sparc SMP build because atomic_add_unless is not exported.
    This patch exports atomic_add_unless and atomic_cmpxchg.
    Signed-off-by: Robert Reif <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 arch/sparc/lib/atomic32.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/sparc/lib/atomic32.c b/arch/sparc/lib/atomic32.c
index 53ddcd9..559335f 100644
--- a/arch/sparc/lib/atomic32.c
+++ b/arch/sparc/lib/atomic32.c
@@ -52,6 +52,7 @@ int atomic_cmpxchg(atomic_t *v, int old, int new)
        spin_unlock_irqrestore(ATOMIC_HASH(v), flags);
        return ret;
 int atomic_add_unless(atomic_t *v, int a, int u)
@@ -65,6 +66,7 @@ int atomic_add_unless(atomic_t *v, int a, int u)
        spin_unlock_irqrestore(ATOMIC_HASH(v), flags);
        return ret != u;
 /* Atomic operations are already serializing */
 void atomic_set(atomic_t *v, int i)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to