NetBSD-Bugs archive

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

port-amd64/39991: modules/compat_linux: build fix



>Number:         39991
>Category:       port-amd64
>Synopsis:       modules/compat_linux: build fix
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 21 09:45:00 +0000 2008
>Originator:     Juan RP
>Release:        Latest
>Organization:
>Environment:
>Description:
modules/compat_linux doesn't currently build. There's a missing
_KERNEL_OPT ifdef in machine/frameasm.h.
>How-To-Repeat:

>Fix:
Index: frameasm.h
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/include/frameasm.h,v
retrieving revision 1.12
diff -b -u -p -r1.12 frameasm.h
--- frameasm.h  21 Apr 2008 15:15:33 -0000      1.12
+++ frameasm.h  21 Nov 2008 09:41:04 -0000
@@ -2,7 +2,10 @@
 
 #ifndef _AMD64_MACHINE_FRAMEASM_H
 #define _AMD64_MACHINE_FRAMEASM_H
+
+#ifdef _KERNEL_OPT
 #include "opt_xen.h"
+#endif
 
 /*
  * Macros to define pushing/popping frames for interrupts, traps



Home | Main Index | Thread Index | Old Index