Yes, in the simple hacks I tried I used request_modulef() (ala printf,
sprintf, vsprintf etc).
> (2) Make the new name a macro which becomes a no-op when CONFIG_KMOD is
> not defined.
gcc did not like macros with variable number of arguments but I am sure it
was my fault. I will try to find an example of a macro with variable
number of arguments in the kernel source and do the same.
Regards,
Tigran.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/