Module Name:    src
Committed By:   dyoung
Date:           Tue Nov  3 20:11:54 UTC 2009

Modified Files:
        src/sys/arch/x86/x86: patch.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/x86/x86/patch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/patch.c
diff -u src/sys/arch/x86/x86/patch.c:1.19 src/sys/arch/x86/x86/patch.c:1.20
--- src/sys/arch/x86/x86/patch.c:1.19	Tue Nov  3 05:23:28 2009
+++ src/sys/arch/x86/x86/patch.c	Tue Nov  3 20:11:53 2009
@@ -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>

Reply via email to