qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] kqemu compile fix for kernel >= 2.6.22-rc3-git6


From: Xavier Gnata
Subject: Re: [Qemu-devel] [PATCH] kqemu compile fix for kernel >= 2.6.22-rc3-git6
Date: Mon, 04 Jun 2007 11:14:01 +0200
User-agent: Mozilla-Thunderbird 2.0.0.0 (X11/20070601)

Hi,

It works just fine here but we also have to be sure that it still works with a kernel <= 2.6.21.

Xavier

kqemu kernel module does not compile under kernel 2.6.22-rc3-git6

This patch resolves the problem for me:

---------SNIP----------------------------------------------
--- a/kqemu-linux.c     2007-05-25 14:03:58.000000000 +0200
+++ a/kqemu-linux.c     2007-05-25 14:04:23.000000000 +0200
@@ -19,6 +19,7 @@
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/errno.h>
+#include <linux/sched.h>
 #include <linux/fs.h>
 #include <linux/mm.h>
 #include <linux/proc_fs.h>
---------SNIP----------------------------------------------


Strobl Anton

<a dot strobl at aws-it dot at>







--
############################################
Xavier Gnata
CRAL - Observatoire de Lyon
9, avenue Charles André
69561 Saint Genis Laval cedex
Phone: +33 4 78 86 85 28
Fax: +33 4 78 86 83 86
E-mail: address@hidden
############################################




reply via email to

[Prev in Thread] Current Thread [Next in Thread]