replace __inline and __inline__ with INLINE macro
This commit is contained in:
parent
ba97ed2b74
commit
71d2578ac5
|
@ -4,7 +4,7 @@
|
||||||
* memset an area in I/O space
|
* memset an area in I/O space
|
||||||
* We need to be careful about this on some archs
|
* We need to be careful about this on some archs
|
||||||
*/
|
*/
|
||||||
static __inline__ void drimemsetio(void* address, int c, int size)
|
static INLINE void drimemsetio(void* address, int c, int size)
|
||||||
{
|
{
|
||||||
#if defined(__powerpc__) || defined(__ia64__)
|
#if defined(__powerpc__) || defined(__ia64__)
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
#if defined( __powerpc__ )
|
#if defined( __powerpc__ )
|
||||||
|
|
||||||
static __inline__ u_int32_t
|
static INLINE u_int32_t
|
||||||
read_MMIO_LE32( volatile void * base, unsigned long offset )
|
read_MMIO_LE32( volatile void * base, unsigned long offset )
|
||||||
{
|
{
|
||||||
u_int32_t val;
|
u_int32_t val;
|
||||||
|
@ -50,7 +50,7 @@ read_MMIO_LE32( volatile void * base, unsigned long offset )
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
static __inline__ u_int32_t
|
static INLINE u_int32_t
|
||||||
read_MMIO_LE32( volatile void * base, unsigned long offset )
|
read_MMIO_LE32( volatile void * base, unsigned long offset )
|
||||||
{
|
{
|
||||||
volatile u_int32_t * p = (volatile u_int32_t *) (((volatile char *) base) + offset);
|
volatile u_int32_t * p = (volatile u_int32_t *) (((volatile char *) base) + offset);
|
||||||
|
|
Loading…
Reference in New Issue