summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorJ. Tang <tang@jtang.org>2016-06-21 23:05:51 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2016-06-23 08:17:35 +0200
commitd7245045ef33b08112c04abe056412fa6e9703cd (patch)
tree4a3c67c46e3dde49b816799f10adf8a04f642aba /arch/ppc
parented9e5ff96597b803968e69aa84ae13de7d18d169 (diff)
downloadbarebox-d7245045ef33b08112c04abe056412fa6e9703cd.tar.gz
barebox-d7245045ef33b08112c04abe056412fa6e9703cd.tar.xz
ppc: fix USPRG0 define
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> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/include/asm/processor.h b/arch/ppc/include/asm/processor.h
index e8a9c1402c..39a89a9d15 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