mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.22-rc3 - VMI does not compile unless himem enabled
@ 2007-05-27  9:47 Mike Houston
       [not found] ` <6bffcb0e0705280311i6946f444l36465357ed7850ab@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Houston @ 2007-05-27  9:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: zach

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.22-rc3 - VMI does not compile unless himem enabled
       [not found] ` <6bffcb0e0705280311i6946f444l36465357ed7850ab@mail.gmail.com>
@ 2007-05-28 16:28   ` Mike Houston
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Houston @ 2007-05-28 16:28 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: linux-kernel, zach

On Mon, 28 May 2007 12:11:35 +0200
"Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:

> Hi Mike,
> 
> On 27/05/07, Mike Houston <mikeserv@bmts.com> wrote:
> > 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

> Please try this patch
> http://lkml.org/lkml/diff/2007/5/24/143/1

Thank you Michal, Alexey Dobriyan replied off list and
showed me the fix that already went into -mm and it did indeed solve
the problem and the paravirt in the vmware guests works fine. Nice of
you folks to help me when I missed the ball. Sorry for missing that.

Mike Houston

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-28 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-27  9:47 2.6.22-rc3 - VMI does not compile unless himem enabled Mike Houston
     [not found] ` <6bffcb0e0705280311i6946f444l36465357ed7850ab@mail.gmail.com>
2007-05-28 16:28   ` Mike Houston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®