summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cpufunc.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-03-11 22:16:09 +0000
committerpeter <peter@FreeBSD.org>2005-03-11 22:16:09 +0000
commitaae81bd5b34df7289c1a7a116888fa8c57c5c655 (patch)
treeddbe8c86d2a04265c84a057694ee46c3a70acd8b /sys/amd64/include/cpufunc.h
parent08402fbecfb746090a4e83349c30fb80fe67a758 (diff)
downloadFreeBSD-src-aae81bd5b34df7289c1a7a116888fa8c57c5c655.zip
FreeBSD-src-aae81bd5b34df7289c1a7a116888fa8c57c5c655.tar.gz
Remove diffs to i386 version that came in via the compiler support ifdefs.
This changes things like whitespace, inconsistent use of #ifndef vs #if !defined(), different macro argument orders, mismatched comments, etc.
Diffstat (limited to 'sys/amd64/include/cpufunc.h')
-rw-r--r--sys/amd64/include/cpufunc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/cpufunc.h b/sys/amd64/include/cpufunc.h
index 4c596a0..60231fb 100644
--- a/sys/amd64/include/cpufunc.h
+++ b/sys/amd64/include/cpufunc.h
@@ -161,7 +161,7 @@ halt(void)
#define inb(port) inbv(port)
#define outb(port, data) outbv(port, data)
-#else /* __GNUCLIKE_BUILTIN_CONSTANT_P && __GNUCLIKE_ASM >= 3 */
+#else /* __GNUCLIKE_BUILTIN_CONSTANT_P && __GNUCLIKE_ASM >= 3 */
/*
* The following complications are to get around gcc not having a
@@ -208,7 +208,7 @@ outbc(u_int port, u_char data)
__asm __volatile("outb %0,%1" : : "a" (data), "id" ((u_short)(port)));
}
-#endif /* __GNUCLIKE_BUILTIN_CONSTANT_P */
+#endif /* __GNUCLIKE_BUILTIN_CONSTANT_P && __GNUCLIKE_ASM >= 3*/
static __inline u_char
inbv(u_int port)
OpenPOWER on IntegriCloud