Need for KEXEC_PRESERVE_CONTEXT flag ?

Indraneel Mukherjee indro.ml at gmail.com
Fri Jun 19 02:30:44 EDT 2009


Hi,

The file kernel/kexec.c (~ line 1001 in linux-2.6.30) has this code

------snip----

 if (flags & KEXEC_PRESERVE_CONTEXT)
            image->preserve_context = 1;

------snip----

Will this ever be true? The flag KEXEC_PRESERVE_CONTEXT is not even defined
in kexec-tools-2.0.0.

Consequently, all the code inside the condition  if(image->preserve_context)
  is also useless?

Am i missing something here?

Regards,
Indro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20090619/bc39bf4b/attachment.html>


More information about the kexec mailing list