ppc.c (apr-1.6.5.tar.bz2) | : | ppc.c (apr-1.7.0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 29 | skipping to change at line 29 | |||
#ifdef USE_ATOMICS_PPC | #ifdef USE_ATOMICS_PPC | |||
#ifdef PPC405_ERRATA | #ifdef PPC405_ERRATA | |||
# define PPC405_ERR77_SYNC " sync\n" | # define PPC405_ERR77_SYNC " sync\n" | |||
#else | #else | |||
# define PPC405_ERR77_SYNC | # define PPC405_ERR77_SYNC | |||
#endif | #endif | |||
APR_DECLARE(apr_status_t) apr_atomic_init(apr_pool_t *p) | APR_DECLARE(apr_status_t) apr_atomic_init(apr_pool_t *p) | |||
{ | { | |||
#if defined (NEED_ATOMICS_GENERIC64) | ||||
return apr__atomic_generic64_init(p); | ||||
#else | ||||
return APR_SUCCESS; | return APR_SUCCESS; | |||
#endif | ||||
} | } | |||
APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem) | APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem) | |||
{ | { | |||
return *mem; | return *mem; | |||
} | } | |||
APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) | APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) | |||
{ | { | |||
*mem = val; | *mem = val; | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added |