Fix the previous attempt to fix kernel builds of HEAD on 7.x. Use the

__gnu_inline__ attribute for PMAP_INLINE when using the 7.x compiler to
match what 7.x uses for PMAP_INLINE.
This commit is contained in:
John Baldwin 2010-03-12 03:08:47 +00:00
parent f1112d2f47
commit 55c4e01602
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ __FBSDID("$FreeBSD$");
#if !defined(DIAGNOSTIC)
#ifdef __GNUC_GNU_INLINE__
#define PMAP_INLINE inline
#define PMAP_INLINE __attribute__((__gnu_inline__)) inline
#else
#define PMAP_INLINE extern inline
#endif

View File

@ -163,7 +163,7 @@ __FBSDID("$FreeBSD$");
#if !defined(DIAGNOSTIC)
#ifdef __GNUC_GNU_INLINE__
#define PMAP_INLINE inline
#define PMAP_INLINE __attribute__((__gnu_inline__)) inline
#else
#define PMAP_INLINE extern inline
#endif