Hi, On 2.6.17-rc2, the MODULE_PARM() way of declaring module parameters seems to have disappeared (it is anyway deprecated since the beginning of the 2.6 series). As such, kqemu-1.3.0pre7 doesn't compile.
/home/thomas/kqemu-1.3.0pre7/kqemu-linux.c:52: error: syntax error before string constant /home/thomas/kqemu-1.3.0pre7/kqemu-linux.c:52: warning: type defaults to ‘int’ in declaration of ‘MODULE_PARM’ /home/thomas/kqemu-1.3.0pre7/kqemu-linux.c:52: warning: function declaration isn’t a prototype /home/thomas/kqemu-1.3.0pre7/kqemu-linux.c:52: warning: data definition has no type or storage class The attached patch fixes it. Sincerly, Thomas -- PETAZZONI Thomas - thomas.petazzoni@enix.org http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED] http://{agenda,livret}dulibre.org - http://www.toulibre.org Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
--- kqemu-1.3.0pre7/kqemu-linux.c 2006-05-07 16:28:05.000000000 +0200 +++ kqemu-1.3.0pre7.new/kqemu-linux.c 2006-05-10 23:35:25.000000000 +0200 @@ -49,7 +49,7 @@ /* if 0 is used, then devfs/udev is used to automatically create the device */ int major = 250; -MODULE_PARM(major,"i"); +module_param(major, int, 0); /* Lock the page at virtual address 'user_addr' and return its physical address (page index). Return a host OS private user page
signature.asc
Description: PGP signature
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel