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:
parent
f1112d2f47
commit
55c4e01602
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user