Messages in this thread | | | Date | Mon, 15 Jun 2009 16:45:05 +0800 | Subject | Re: memconsole: a virtual console to record the Oops message for debugging purpose. | From | Américo Wang <> |
| |
2009/6/15 Changli Gao <xiaosuo@gmail.com>: > On Mon, Jun 15, 2009 at 3:11 PM, Amerigo Wang<xiyou.wangcong@gmail.com> wrote: >> On Sun, Jun 14, 2009 at 09:29:48AM +0800, Changli Gao wrote: >>> >>>the following code is appended to the file mm/bootmem.c >> >> >> Why not a patch? >> >> Your code is a kernel module, why do you append it into >> a non-module source file? >> > bootmem can't be allocated in modules. :(
Ok, then explain your code below:
module_init(init); ... module_exit(fini);
MODULE_AUTHOR("xiaosuo <xiaosuo@gmail.com>"); MODULE_LICENSE("GPL");
| |