diff options
author | José Fonseca <[email protected]> | 2008-06-24 13:51:52 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-06-24 13:51:52 +0900 |
commit | 2e328dcde2be8174b2a78936206ced71b03b2b57 (patch) | |
tree | 17f42e18f5f19c542297f81819a9aca3cb311f20 /src/mesa/drivers/dri/common/mmio.h | |
parent | 5c1a78b7a85d23ad1358b34d03a0002a19483655 (diff) |
mesa/dri: User standard integer types.
Diffstat (limited to 'src/mesa/drivers/dri/common/mmio.h')
-rw-r--r-- | src/mesa/drivers/dri/common/mmio.h | 8 |
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 2b7b4123e5a..891056e1705 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] ); } |