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

Bug#377002: marked as done (linux-kernel-headers: #include <sys/vm86.h> does not define VM_MASK correctly unless CONFIG_VM86 is defined)



Your message dated Tue, 18 Dec 2007 01:07:24 +0100
with message-id <20071218000724.GO29139@stro.at>
and subject line linux-kernel-headers: #include <sys/vm86.h> does not define VM_MASK correctly unless CONFIG_VM86 is defined
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: linux-kernel-headers
Version: 2.6.17.1-1
Severity: normal
Tags: patch

<sys/vm86.h> includes <asm/vm86.h>, which includes <asm-i486/vm86.h>.
The last file depends on the kernel configuration constant

#ifdef CONFIG_VM86
#define VM_MASK         0x00020000
#else
#define VM_MASK         0 /* ignored */
#endif

CONFIG_VM86 which makes no sense in user space.

--- include/asm-i486/vm86.h~	2006-07-01 09:37:31.000000000 +1200
+++ include/asm-i486/vm86.h	2006-07-01 09:43:37.000000000 +1200
@@ -16,11 +16,7 @@
  #define IF_MASK		0x00000200
  #define IOPL_MASK	0x00003000
  #define NT_MASK		0x00004000
-#ifdef CONFIG_VM86
  #define VM_MASK		0x00020000
-#else
-#define VM_MASK		0 /* ignored */
-#endif
  #define AC_MASK		0x00040000
  #define VIF_MASK	0x00080000	/* virtual interrupt flag */
  #define VIP_MASK	0x00100000	/* virtual interrupt pending */
@@ -137,6 +133,12 @@
  };

  #ifdef __KERNEL__
+
+#ifndef CONFIG_VM86
+#undef VM_MASK
+#define VM_MASK		0 /* ignored */
+#endif
+
  /*
   * This is the (kernel) stack-layout when we have done a "SAVE_ALL" from vm86
   * mode - the main change is that the old segment descriptors aren't


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)

-- no debconf information


--- End Message ---
--- Begin Message ---
in Moreinfo state for quite a while.

that change would need to happen upstream and no motivation was given,
thus closing.

Debian does not want to randomly differ on linux-libc-dev.

-- 
maks


--- End Message ---

Reply to: