diff options
author | Eric Anholt <anholt@freebsd.org> | 2002-10-27 05:25:50 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2002-10-27 05:25:50 +0000 |
commit | 516392beff156f87b466ff7931e5573a3a931ca0 (patch) | |
tree | 62cfa02663909913d47434f12882e6e3027d3a1a | |
parent | 9f21f02217dd8b81886f042ce1af99d61de9a218 (diff) |
s/udelay/DRM_UDELAY/
-rw-r--r-- | shared-core/mga_dma.c | 2 | ||||
-rw-r--r-- | shared/mga_dma.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/mga_dma.c b/shared-core/mga_dma.c index 3c84de63..e183f090 100644 --- a/shared-core/mga_dma.c +++ b/shared-core/mga_dma.c @@ -166,7 +166,7 @@ void mga_do_dma_flush( drm_mga_private_t *dev_priv ) for ( i = 0 ; i < dev_priv->usec_timeout ; i++ ) { status = MGA_READ( MGA_STATUS ) & MGA_ENGINE_IDLE_MASK; if ( status == MGA_ENDPRDMASTS ) break; - udelay( 1 ); + DRM_UDELAY( 1 ); } if ( primary->tail == primary->last_flush ) { diff --git a/shared/mga_dma.c b/shared/mga_dma.c index 3c84de63..e183f090 100644 --- a/shared/mga_dma.c +++ b/shared/mga_dma.c @@ -166,7 +166,7 @@ void mga_do_dma_flush( drm_mga_private_t *dev_priv ) for ( i = 0 ; i < dev_priv->usec_timeout ; i++ ) { status = MGA_READ( MGA_STATUS ) & MGA_ENGINE_IDLE_MASK; if ( status == MGA_ENDPRDMASTS ) break; - udelay( 1 ); + DRM_UDELAY( 1 ); } if ( primary->tail == primary->last_flush ) { |