lkcd
[Top] [All Lists]

Re: dump_function_ptr

To: gshekar@xxxxxxxxxx
Subject: Re: dump_function_ptr
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Mon, 16 Apr 2001 11:18:48 -0700
Cc: lkcd@xxxxxxxxxxx
Organization: Alacritech, Inc.
References: <CA256A30.00358610.00@xxxxxxxxxxxxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
gshekar@xxxxxxxxxx wrote:
> 
> Hi,
>   In dump_init() routine, dump_function_ptr is unnecessarily initialized to
> dump_execute (it is not compiled as a CONFIG_VMDUMP_MODULE)
> 
>  Regards
>   Girish

Corrected in the LKCD trees on SourceForge.  We now have:

#if defined(CONFIG_VMDUMP_MODULE)
        printk("vmdump: setting dump_execute() as dump_function_ptr ...\n");
        dump_function_ptr = dump_execute;
#else
        dump_function_ptr = 0;
#endif

Does this work?  If so, feel free to grab the latest version out
of the source trees on SourceForge.  Oh, there shouldn't be any
issue with assigning it each time, unless you're trying to define
your own ...

--Matt

<Prev in Thread] Current Thread [Next in Thread>