summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-08 18:23:43 +0000
committered <ed@FreeBSD.org>2009-06-08 18:23:43 +0000
commitca6dbec08b990a59e5485d094466fd82165a5c41 (patch)
tree0bac2f9c0c87ea6ea734789287fa95f3bcda526b /sys/i386
parentaef77db9311982ff7db0a801a142435ce619c5b0 (diff)
downloadFreeBSD-src-ca6dbec08b990a59e5485d094466fd82165a5c41.zip
FreeBSD-src-ca6dbec08b990a59e5485d094466fd82165a5c41.tar.gz
Revert my change; reintroduce __gnu89_inline.
It turns out our compiler in stable/7 can't build this code anymore. Even though my opinion is that those people should just run `make kernel-toolchain' before building a kernel, I am willing to wait and commit this after we've branched stable/8. Requested by: rwatson
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/pmap.c2
-rw-r--r--sys/i386/xen/pmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 307587a..5d7dc97 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -161,7 +161,7 @@ __FBSDID("$FreeBSD$");
#endif
#if !defined(DIAGNOSTIC)
-#define PMAP_INLINE extern inline
+#define PMAP_INLINE __gnu89_inline
#else
#define PMAP_INLINE
#endif
diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c
index 2883596..59947e8 100644
--- a/sys/i386/xen/pmap.c
+++ b/sys/i386/xen/pmap.c
@@ -172,7 +172,7 @@ __FBSDID("$FreeBSD$");
#endif
#if !defined(PMAP_DIAGNOSTIC)
-#define PMAP_INLINE extern inline
+#define PMAP_INLINE __gnu89_inline
#else
#define PMAP_INLINE
#endif
OpenPOWER on IntegriCloud