2.6.22-rc3 - VMI does not compile unless himem enabled

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

 



While building kernels for vmware guests, I noticed that the
paravirt VMI driver in 2.6.22-rc3 does not compile when highmem
support is disabled. This did not occur in 2.6.21

  CC      arch/i386/kernel/vmi.o
arch/i386/kernel/vmi.c: In function `vmi_update_pte':
arch/i386/kernel/vmi.c:422: error: dereferencing pointer to
incomplete type
arch/i386/kernel/vmi.c:422: error: `init_mm' undeclared (first use in
this function)
arch/i386/kernel/vmi.c:422: error: (Each undeclared identifier is
reported only once
arch/i386/kernel/vmi.c:422: error: for each function it appears in.)
arch/i386/kernel/vmi.c: In function `vmi_update_pte_defer':
arch/i386/kernel/vmi.c:428: error: dereferencing pointer to
incomplete type
arch/i386/kernel/vmi.c:428: error: `init_mm' undeclared (first use in
this function)
arch/i386/kernel/vmi.c: In function `vmi_set_pte_at':
arch/i386/kernel/vmi.c:441: error: dereferencing pointer to
incomplete type
arch/i386/kernel/vmi.c:441: error: `init_mm' undeclared (first use in
this function)
make[1]: *** [arch/i386/kernel/vmi.o] Error 1
make: *** [arch/i386/kernel] Error 2

This does not occur if himem support is enabled.

Mike Houston
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux