qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52:


From: Jens Axboe
Subject: Re: [Qemu-devel] Problem in compiling kqemu-1.3.0pre7: kqemu-linux.c:52: error: expected ?)? before string constant
Date: Tue, 13 Jun 2006 12:24:21 +0200

On Tue, Jun 13 2006, ??? ????? wrote:
> Hello
> 
> I have problem to compile kqemu-1.3.0pre7:
> 
> "kqemu-linux.c:52: error: expected ?)? before string constant"

This fixes it, I hope Fabrice will add it soon.

--- kqemu-1.3.0pre7/kqemu-linux.c~      2006-05-07 16:28:05.000000000 +0200
+++ kqemu-1.3.0pre7/kqemu-linux.c       2006-06-13 12:22:21.742632272 +0200
@@ -49,7 +49,11 @@
 /* if 0 is used, then devfs/udev is used to automatically create the
    device */
 int major = 250;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
+module_param(major, int, 0);
+#else
 MODULE_PARM(major,"i");
+#endif
 
 /* Lock the page at virtual address 'user_addr' and return its
    physical address (page index). Return a host OS private user page

-- 
Jens Axboe





reply via email to

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