mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ppc: fix USPRG0 define
@ 2016-06-22  3:05 J. Tang
  2016-06-23  6:17 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: J. Tang @ 2016-06-22  3:05 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-23  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22  3:05 [PATCH] ppc: fix USPRG0 define J. Tang
2016-06-23  6:17 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox