--- ./kqemu-1.3.0pre7/kqemu-linux.c.fix	2006-06-27 16:30:00.000000000 -0700
+++ ./kqemu-1.3.0pre7/kqemu-linux.c	2006-06-27 16:46:58.000000000 -0700
@@ -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,10)
 MODULE_PARM(major,"i");
+#else
+module_param(major, int, 0);
+#endif
 
 /* Lock the page at virtual address 'user_addr' and return its
    physical address (page index). Return a host OS private user page
