public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Jackson <pj@sgi.com>
To: Andrew Morton <akpm@osdl.org>
Cc: nickpiggin@yahoo.com.au, Paul Jackson <pj@sgi.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] sparc atomic_clear_mask build fix
Date: Fri, 9 Dec 2005 03:27:01 -0800 (PST)	[thread overview]
Message-ID: <20051209112701.2500.11232.sendpatchset@jackhammer.engr.sgi.com> (raw)

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

                 reply	other threads:[~2005-12-09 11:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051209112701.2500.11232.sendpatchset@jackhammer.engr.sgi.com \
    --to=pj@sgi.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nickpiggin@yahoo.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox