Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 Gracelessly bracket #include "opt_spldebug....



details:   https://anonhg.NetBSD.org/src/rev/55d7e4abd080
branches:  trunk
changeset: 748736:55d7e4abd080
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue Nov 03 20:11:53 2009 +0000

description:
Gracelessly bracket #include "opt_spldebug.h" with #ifdef i386.
Should fix the amd64 kernel-build failure that Andreas Wrede
reported.

diffstat:

 sys/arch/x86/x86/patch.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 52b737b173c9 -r 55d7e4abd080 sys/arch/x86/x86/patch.c
--- a/sys/arch/x86/x86/patch.c  Tue Nov 03 18:44:15 2009 +0000
+++ b/sys/arch/x86/x86/patch.c  Tue Nov 03 20:11:53 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: patch.c,v 1.19 2009/11/03 05:23:28 dyoung Exp $        */
+/*     $NetBSD: patch.c,v 1.20 2009/11/03 20:11:53 dyoung Exp $        */
 
 /*-
  * Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -34,10 +34,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: patch.c,v 1.19 2009/11/03 05:23:28 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: patch.c,v 1.20 2009/11/03 20:11:53 dyoung Exp $");
 
 #include "opt_lockdebug.h"
+#ifdef i386
 #include "opt_spldebug.h"
+#endif
 
 #include <sys/types.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index