public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* Need for KEXEC_PRESERVE_CONTEXT flag ?
@ 2009-06-19  6:30 Indraneel Mukherjee
  2009-06-21 17:17 ` Neil Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Indraneel Mukherjee @ 2009-06-19  6:30 UTC (permalink / raw)
  To: kexec


[-- Attachment #1.1: Type: text/plain, Size: 426 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 507 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-22  1:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19  6:30 Need for KEXEC_PRESERVE_CONTEXT flag ? Indraneel Mukherjee
2009-06-21 17:17 ` Neil Horman
2009-06-21 18:54   ` Indraneel Mukherjee
2009-06-22  1:17     ` Neil Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox