summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/mmio.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-21 10:55:24 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-21 10:55:24 -0600
commit71d2578ac5530c8641bcd5d9a9654373a6ce853e (patch)
tree15bfbb067bc3d2e4d5604b6ed343deefd57c8656 /src/mesa/drivers/dri/common/mmio.h
parentba97ed2b743ba0b6631e0fbcf2ab12afe885f87c (diff)
replace __inline and __inline__ with INLINE macro
Diffstat (limited to 'src/mesa/drivers/dri/common/mmio.h')
-rw-r--r--src/mesa/drivers/dri/common/mmio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/common/mmio.h b/src/mesa/drivers/dri/common/mmio.h
index 2b7b4123e5..89871aab59 100644
--- a/src/mesa/drivers/dri/common/mmio.h
+++ b/src/mesa/drivers/dri/common/mmio.h
@@ -37,7 +37,7 @@
#if defined( __powerpc__ )
-static __inline__ u_int32_t
+static INLINE u_int32_t
read_MMIO_LE32( volatile void * base, unsigned long offset )
{
u_int32_t val;
@@ -50,7 +50,7 @@ read_MMIO_LE32( volatile void * base, unsigned long offset )
#else
-static __inline__ u_int32_t
+static INLINE u_int32_t
read_MMIO_LE32( volatile void * base, unsigned long offset )
{
volatile u_int32_t * p = (volatile u_int32_t *) (((volatile char *) base) + offset);