summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/bitmap.h
diff options
context:
space:
mode:
authorwesolows <none@none>2005-10-19 16:44:07 -0700
committerwesolows <none@none>2005-10-19 16:44:07 -0700
commit2b616c6c748ccca60ec7bdc3c781d84203c97b2b (patch)
tree18f4bba8f6404c1cb2a0bf9f7d207666449bb6e6 /usr/src/uts/common/sys/bitmap.h
parentbe10f7d91e42e379302ee5ead703b5f0bf8b47c6 (diff)
downloadillumos-gate-2b616c6c748ccca60ec7bdc3c781d84203c97b2b.tar.gz
6310420 gcc and zuluvm don't get along
6310466 gcc wants inline SPARC assembly in the kernel
Diffstat (limited to 'usr/src/uts/common/sys/bitmap.h')
-rw-r--r--usr/src/uts/common/sys/bitmap.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/usr/src/uts/common/sys/bitmap.h b/usr/src/uts/common/sys/bitmap.h
index 863efa55d0..8476ba9563 100644
--- a/usr/src/uts/common/sys/bitmap.h
+++ b/usr/src/uts/common/sys/bitmap.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,8 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -31,14 +31,15 @@
#ifndef _SYS_BITMAP_H
#define _SYS_BITMAP_H
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.6 */
+#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/feature_tests.h>
-#if defined(__GNUC__) && defined(_ASM_INLINES)
+#if defined(__GNUC__) && defined(_ASM_INLINES) && \
+ (defined(__i386) || defined(__amd64))
#include <asm/bitmap.h>
#endif