From: Adrian Byszuk <adebex@gmail.com>
To: linux-mips@linux-mips.org
Subject: [PATCH] Fix kexec call on MIPS platform
Date: Sun, 21 Mar 2010 17:06:47 +0000 [thread overview]
Message-ID: <201003211706.47373.adebex@gmail.com> (raw)
Dear developers,
This kernel patch fixes problems with kexec call on some devices.
I tested it on Asus WL-500gP v2. I suppose it would behave well on all MIPS
machines.
Applicable to 2.6.32 and 2.6.33
Signed-off-by: Adrian Byszuk <adebex_at_gmail.com>
---
--- a/arch/mips/kernel/machine_kexec.c 2010-03-15 15:52:04.000000000 +0000
+++ b/arch/mips/kernel/machine_kexec.c 2010-03-21 15:25:13.953615489 +0000
@@ -52,7 +52,8 @@
reboot_code_buffer =
(unsigned long)page_address(image->control_code_page);
- kexec_start_address = image->start;
+ kexec_start_address =
+ (unsigned long) phys_to_virt(image->start);
kexec_indirection_page =
(unsigned long) phys_to_virt(image->head & PAGE_MASK);
next reply other threads:[~2010-03-21 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-21 17:06 Adrian Byszuk [this message]
2010-03-27 18:19 ` [PATCH] Fix kexec call on MIPS platform Adrian Byszuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201003211706.47373.adebex@gmail.com \
--to=adebex@gmail.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.