summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-07-21 17:15:51 +0000
committermarius <marius@FreeBSD.org>2008-07-21 17:15:51 +0000
commita94ec32bd7ac201fd997310ef9f5eee03556309e (patch)
tree22c6f9487b037da2fab49eb4510df1257a0eb3e7
parent9d11b5b5b38a8ee6951e205a19c7a74fb7620ce6 (diff)
downloadFreeBSD-src-a94ec32bd7ac201fd997310ef9f5eee03556309e.zip
FreeBSD-src-a94ec32bd7ac201fd997310ef9f5eee03556309e.tar.gz
- Remove redundant inclusion of opt_global.h.
- Use __FBSDID in autoconf.c. MFC after: 3 days
-rw-r--r--sys/sparc64/sparc64/autoconf.c6
-rw-r--r--sys/sparc64/sparc64/mem.c1
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/sparc64/sparc64/autoconf.c b/sys/sparc64/sparc64/autoconf.c
index 15b8921..438c386 100644
--- a/sys/sparc64/sparc64/autoconf.c
+++ b/sys/sparc64/sparc64/autoconf.c
@@ -22,12 +22,12 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "opt_isa.h"
-#include "opt_global.h"
#include <sys/param.h>
#include <sys/systm.h>
diff --git a/sys/sparc64/sparc64/mem.c b/sys/sparc64/sparc64/mem.c
index e8c58e2..124d387 100644
--- a/sys/sparc64/sparc64/mem.c
+++ b/sys/sparc64/sparc64/mem.c
@@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
* might cause illegal aliases to be created for the locked kernel page(s), so
* it is not implemented.
*/
-#include "opt_global.h"
#include <sys/param.h>
#include <sys/conf.h>
OpenPOWER on IntegriCloud