diff options
Diffstat (limited to 'bsps/shared/grlib/spw/grspw.c')
-rw-r--r-- | bsps/shared/grlib/spw/grspw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/shared/grlib/spw/grspw.c b/bsps/shared/grlib/spw/grspw.c index 586bb2537c..2e1e8e90e9 100644 --- a/bsps/shared/grlib/spw/grspw.c +++ b/bsps/shared/grlib/spw/grspw.c @@ -1893,7 +1893,7 @@ static int grspw_hw_receive(GRSPW_DEV *pDev, char *b, int c) { if (rxlen > c) { rxlen = c; } - if (CPU_SPARC_HAS_SNOOPING) { + if (GRLIB_DMA_IS_CACHE_COHERENT) { /* if ( 1 ) {*/ /*printf("RX_MEMCPY(0x%x, 0x%x, 0x%x)\n", (unsigned int)b, (unsigned int)(rxb+pDev->rxbufcur), (unsigned int)rxlen);*/ memcpy(b, rxb+pDev->rxbufcur, rxlen); |