Hi,

I have this error trying to compile a minimal 2.6.20-rc5-rt7 i386
kernel:

[...]
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/i386/kernel/built-in.o: In function `init_intel':
intel.c:(.init.text+0x3c01): undefined reference to `paravirt_enabled'
make: *** [.tmp_vmlinux1] Error 1

With this trivial patch i can compile kernel successfully:

--- intel.c.orig        2007-01-22 11:03:06.000000000 +0100
+++ intel.c     2007-01-22 11:03:36.000000000 +0100
@@ -6,6 +6,7 @@
 #include <linux/smp.h>
 #include <linux/thread_info.h>
 #include <linux/module.h>
+#include <linux/paravirt.h>
 
 #include <asm/processor.h>
 #include <asm/msr.h>


But i don't know if it is the best way to resolve this problem.

Ciao,
Alessio

-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to