From: Peter Buckingham <peter@pantasys.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: [PATCH 2.6] fix mips atomic_lock declaration
Date: Mon, 13 Sep 2004 15:33:09 -0700 [thread overview]
Message-ID: <41462025.9070607@pantasys.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
Hi Ralf,
I modified the declaration of atomic_lock to be static. This means that
I can now build and run SMP on the 1250. See attached patch.
peter
Signed-off-by: Peter Buckingham <peter@pantasys.com>
[-- Attachment #2: p --]
[-- Type: text/plain, Size: 574 bytes --]
? include/asm-mips/.atomic.h.swp
? include/asm-mips/agp.h
Index: include/asm-mips/atomic.h
===================================================================
RCS file: /home/cvs/linux/include/asm-mips/atomic.h,v
retrieving revision 1.36
diff -u -r1.36 atomic.h
--- include/asm-mips/atomic.h 19 Aug 2004 09:54:23 -0000 1.36
+++ include/asm-mips/atomic.h 13 Sep 2004 21:51:56 -0000
@@ -26,7 +26,7 @@
#include <asm/cpu-features.h>
#include <asm/war.h>
-extern spinlock_t atomic_lock;
+static spinlock_t atomic_lock;
typedef struct { volatile int counter; } atomic_t;
next reply other threads:[~2004-09-13 22:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-13 22:33 Peter Buckingham [this message]
2004-09-14 0:22 ` [PATCH 2.6] fix mips atomic_lock declaration Ralf Baechle
2004-09-14 0:24 ` Peter Buckingham
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=41462025.9070607@pantasys.com \
--to=peter@pantasys.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.