Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 85765 Details for
Bug 131676
KQemu-0.7.2 MODULE_PARM fix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kqemu-0.7.2-fix_module_parm.patch
kqemu-0.7.2-fix_module_parm.patch (text/plain), 914 bytes, created by
Nicolas Boichat
on 2006-04-29 06:51:40 UTC
(
hide
)
Description:
kqemu-0.7.2-fix_module_parm.patch
Filename:
MIME Type:
Creator:
Nicolas Boichat
Created:
2006-04-29 06:51:40 UTC
Size:
914 bytes
patch
obsolete
>--- kqemu-linux.c.orig 2006-04-29 15:29:55.000000000 +0200 >+++ kqemu-linux.c 2006-04-29 15:31:30.000000000 +0200 >@@ -3,6 +3,9 @@ > * Copyright (c) 2004-2005 Fabrice Bellard > */ > #include <linux/module.h> >+#ifndef MODULE_PARM >+ #include <linux/moduleparam.h> >+#endif > #include <linux/types.h> > #include <linux/errno.h> > #include <linux/fs.h> >@@ -48,11 +51,19 @@ int page_alloc_count; > /* if 0 is used, then devfs/udev is used to automatically create the > device */ > int major = 250; >-MODULE_PARM(major,"i"); >+#ifdef MODULE_PARM >+ MODULE_PARM(major,"i"); >+#else >+ module_param(major, int, 0444); >+#endif > > /* configurable max_instances */ > int max_instances = 4; >-MODULE_PARM(max_instances,"i"); >+#ifdef MODULE_PARM >+ MODULE_PARM(max_instances,"i"); >+#else >+ module_param(max_instances, int, 0444); >+#endif > > /* lock the page at virtual address 'user_addr' and return its > page index. Return -1 if error */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131676
: 85765