forked from Imagelibrary/rtems
bsps/powerpc: Fix conditional compilation
This commit is contained in:
@@ -67,7 +67,7 @@ main_loop_begin:
|
|||||||
dcbz r0, r3
|
dcbz r0, r3
|
||||||
dcbf r0, r3
|
dcbf r0, r3
|
||||||
#else
|
#else
|
||||||
#if PPC_CACHE_ALIGNMENT >= 32
|
#if PPC_CACHE_ALIGNMENT == 32 || PPC_CACHE_ALIGNMENT == 64
|
||||||
stw r0, 0(r3)
|
stw r0, 0(r3)
|
||||||
stw r0, 4(r3)
|
stw r0, 4(r3)
|
||||||
stw r0, 8(r3)
|
stw r0, 8(r3)
|
||||||
@@ -85,8 +85,6 @@ main_loop_begin:
|
|||||||
stw r0, 52(r3)
|
stw r0, 52(r3)
|
||||||
stw r0, 56(r3)
|
stw r0, 56(r3)
|
||||||
stw r0, 60(r3)
|
stw r0, 60(r3)
|
||||||
#else
|
|
||||||
#error "unsupported cache alignment"
|
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#error "unsupported cache alignment"
|
#error "unsupported cache alignment"
|
||||||
|
|||||||
Reference in New Issue
Block a user