mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "J. Tang" <tang@jtang.org>
To: barebox@lists.infradead.org
Subject: [PATCH] ppc: fix USPRG0 define
Date: Tue, 21 Jun 2016 23:05:51 -0400	[thread overview]
Message-ID: <CC3701D5-B235-416E-B5C7-18F82E3B9A8A@jtang.org> (raw)

The #define USPRG0 aliases SPRN_USPRG, but it should refer to
SPRN_USPRG0. There is no register SPRN_USPRG on PowerPC.

Signed-off-by: Jason Tang <tang@jtang.org>
---
 arch/ppc/include/asm/processor.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/ppc/include/asm/processor.h b/arch/ppc/include/asm/processor.h
index e8a9c14..39a89a9 100644
--- a/arch/ppc/include/asm/processor.h
+++ b/arch/ppc/include/asm/processor.h
@@ -572,7 +572,7 @@
 #define CSRR0	SPRN_CSRR0
 #define CSRR1	SPRN_CSRR1
 #define IVPR	SPRN_IVPR
-#define USPRG0	SPRN_USPRG
+#define USPRG0	SPRN_USPRG0
 #define SPRG4R	SPRN_SPRG4R
 #define SPRG5R	SPRN_SPRG5R
 #define SPRG6R	SPRN_SPRG6R
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2016-06-22  3:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-22  3:05 J. Tang [this message]
2016-06-23  6:17 ` Sascha Hauer

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=CC3701D5-B235-416E-B5C7-18F82E3B9A8A@jtang.org \
    --to=tang@jtang.org \
    --cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox