summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc64
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 23:22:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 23:22:47 +0000
commit02591de7de86883f9b5ace92cd1c18eda972010a (patch)
tree69a1840e0823fd3797c141ba5653fe50f796c7b7 /cpukit/score/cpu/sparc64
parent2010-11-16 Gedare Bloom <giddyup44@yahoo.com> (diff)
downloadrtems-02591de7de86883f9b5ace92cd1c18eda972010a.tar.bz2
2010-11-16 Gedare Bloom <giddyup44@yahoo.com>
* rtems/score/sparc64.h: Fix typo.
Diffstat (limited to 'cpukit/score/cpu/sparc64')
-rw-r--r--cpukit/score/cpu/sparc64/ChangeLog4
-rw-r--r--cpukit/score/cpu/sparc64/rtems/score/sparc64.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sparc64/ChangeLog b/cpukit/score/cpu/sparc64/ChangeLog
index 4eb2ba84e6..6da3e83021 100644
--- a/cpukit/score/cpu/sparc64/ChangeLog
+++ b/cpukit/score/cpu/sparc64/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-16 Gedare Bloom <giddyup44@yahoo.com>
+
+ * rtems/score/sparc64.h: Fix typo.
+
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
diff --git a/cpukit/score/cpu/sparc64/rtems/score/sparc64.h b/cpukit/score/cpu/sparc64/rtems/score/sparc64.h
index d27d064a4f..77125d1210 100644
--- a/cpukit/score/cpu/sparc64/rtems/score/sparc64.h
+++ b/cpukit/score/cpu/sparc64/rtems/score/sparc64.h
@@ -186,7 +186,7 @@ extern "C" {
#define sparc64_set_pstate( _pstate ) \
do { \
asm volatile ( \
- "wrpr %g0, %0, %%pstate " : "=r" ((_pstate)) : "0" ((_pstate)) ); \
+ "wrpr %%g0, %0, %%pstate " : "=r" ((_pstate)) : "0" ((_pstate)) ); \
} while ( 0 )
/*
@@ -201,7 +201,7 @@ extern "C" {
#define sparc64_set_pil( _pil ) \
do { \
- asm volatile ( "wrpr %g0, %0, %%pil " : "=r" ((_pil)) : "0" ((_pil)) ); \
+ asm volatile ( "wrpr %%g0, %0, %%pil " : "=r" ((_pil)) : "0" ((_pil)) ); \
} while ( 0 )