Need for KEXEC_PRESERVE_CONTEXT flag ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux