diff packages/hal/powerpc/arch/current/include/hal_cache.h @ 10:d3fbcdfa1b2f ecos-sw-1999-05-29

Merge from eCos master repository on 1999-05-29-00:13:11-BST
author jlarmour
date Fri, 28 May 1999 16:43:09 +0000
parents 443894e2e912
children 4f2df4ab82c8
line wrap: on
line diff
--- a/packages/hal/powerpc/arch/current/include/hal_cache.h
+++ b/packages/hal/powerpc/arch/current/include/hal_cache.h
@@ -313,7 +313,7 @@ typedef struct {
                       "sync;"                                                 \
                       "mtspr %2, %4;"                                         \
                       "mtspr %3, %5;"                                         \
-                      : /* %0 */ "=r" (__scratch)                             \
+                      : /* %0 */ "=&r" (__scratch)                            \
                       : /* %1 */ "b" (__base),                                \
                         /* %2 */ "I" (CYGARC_REG_DC_ADR),                     \
                         /* %3 */ "I" (CYGARC_REG_DC_CST),                     \