summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/score/cpu/arm/ChangeLog4
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog
index 0fa9932b1f..6bf9b93f24 100644
--- a/cpukit/score/cpu/arm/ChangeLog
+++ b/cpukit/score/cpu/arm/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * rtems/score/cpu.h: Remove warnings.
+
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c, rtems/score/cpu.h: Eliminate _CPU_Thread_dispatch_pointer and
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index e9591e3400..d68030f817 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -828,14 +828,14 @@ static inline uint32_t CPU_swap_u32(
#endif
}
-static inline uint16_t CPU_swap_u16(uint16_t value)
+static inline uint16_t CPU_swap_u16(uint16_t value)
{
uint16_t lower;
uint16_t upper;
- value = value & (uint16_t ) 0xffff;
- lower = (value >> 8) ;
- upper = (value << 8) ;
+ value = value & (uint16_t) 0xffff;
+ lower = (value >> 8);
+ upper = (value << 8) & 0xff;
return (lower | upper);
}