From 18ebea137ac6cc4753a2789bba0c33fe3e1bcde9 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 24 Jan 2005 05:40:55 +0000 Subject: [PATCH] 2005-01-24 Ralf Corsepius * rtems/score/sh.h: *_swap_u32( uint32_t ). --- cpukit/score/cpu/sh/ChangeLog | 4 ++++ cpukit/score/cpu/sh/rtems/score/sh.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog index 5f6cd9b2a1..c60074d563 100644 --- a/cpukit/score/cpu/sh/ChangeLog +++ b/cpukit/score/cpu/sh/ChangeLog @@ -1,3 +1,7 @@ +2005-01-24 Ralf Corsepius + + * rtems/score/sh.h: *_swap_u32( uint32_t ). + 2005-01-24 Ralf Corsepius * rtems/score/sh.h: *_swap_u16( uint16_t ). diff --git a/cpukit/score/cpu/sh/rtems/score/sh.h b/cpukit/score/cpu/sh/rtems/score/sh.h index f37ce1cdcf..011e019335 100644 --- a/cpukit/score/cpu/sh/rtems/score/sh.h +++ b/cpukit/score/cpu/sh/rtems/score/sh.h @@ -185,11 +185,11 @@ extern "C" { * It must be static because it is referenced indirectly. */ -static inline unsigned int sh_swap_u32( - unsigned int value +static inline uint32_t sh_swap_u32( + uint32_t value ) { - register unsigned int swapped; + register uint32_t swapped; asm volatile ( "swap.b %1,%0; "