https://bugzilla.novell.com/show_bug.cgi?id=394216
User bugproxy@us.ibm.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=394216#c3
--- Comment #3 from LTC BugProxy 2008-05-26 09:48:51 MDT ---
------- Comment From sharyathi@in.ibm.com 2008-05-26 11:47 EDT-------
Indu
This is patch provided by Bernhard Walle
can you please test the patch ....
Eric has suggested to fix the problem in kexec tool rather than in kernel, You
can find more detail here:--
http://article.gmane.org/gmane.linux.kernel/685027
--------------------------------
Signed-off-by: Bernhard Walle
---
kexec/kexec.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/kexec/kexec.c b/kexec/kexec.c
index 096fa4f..1550d68 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -702,6 +702,14 @@ static int my_load(const char *type, int fileind, int
argc,
char **argv,
int k_unload (unsigned long kexec_flags)
{
int result;
+ long native_arch;
+
+ /* set the arch */
+ native_arch = physical_arch();
+ if (native_arch < 0) {
+ return -1;
+ }
+ kexec_flags |= native_arch;
result = kexec_load(NULL, 0, NULL, kexec_flags);
if (result != 0) {
--------------------------------
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.