summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/mmio.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-09-20 07:32:30 -0700
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-21 09:45:00 -0700
commit5a46e176715b0eae7b8a715e8aec42f5a27214fc (patch)
tree6f8c89c2744f6092a371bbdcdf0a1b9f68124571 /src/mesa/drivers/dri/common/mmio.h
parent3474e9de924d92a941b4ea33ecc694f5fad2651f (diff)
mesa: standardize on C99's uint*_t instead of u_int*_t
Diffstat (limited to 'src/mesa/drivers/dri/common/mmio.h')
-rw-r--r--src/mesa/drivers/dri/common/mmio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/common/mmio.h b/src/mesa/drivers/dri/common/mmio.h
index 8485871bf5..ce95d8c907 100644
--- a/src/mesa/drivers/dri/common/mmio.h
+++ b/src/mesa/drivers/dri/common/mmio.h
@@ -37,10 +37,10 @@
#if defined( __powerpc__ )
-static INLINE u_int32_t
+static INLINE uint32_t
read_MMIO_LE32( volatile void * base, unsigned long offset )
{
- u_int32_t val;
+ uint32_t val;
__asm__ __volatile__( "lwbrx %0, %1, %2 ; eieio"
: "=r" (val)
@@ -50,10 +50,10 @@ read_MMIO_LE32( volatile void * base, unsigned long offset )
#else
-static INLINE u_int32_t
+static INLINE uint32_t
read_MMIO_LE32( volatile void * base, unsigned long offset )
{
- volatile u_int32_t * p = (volatile u_int32_t *) (((volatile char *) base) + offset);
+ volatile uint32_t * p = (volatile uint32_t *) (((volatile char *) base) + offset);
return LE32_TO_CPU( p[0] );
}