summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
authorHorms <horms@verge.net.au>2006-12-01 15:08:53 +0900
committerSimon Horman <horms@verge.net.au>2006-12-12 18:30:49 +0900
commit7b347834d35633578c60496a13d1e913926e50f2 (patch)
treeb4390e84a50994f2d770d086d11c89ae45a2e363 /kexec/kexec.c
parent7f093bceb950d24d91359965d135c835c584c953 (diff)
send slave cpus to SAL slave loop on crash (IA64)
On Tue, Nov 21, 2006 at 07:13:56AM +0800, Zou Nan hai wrote: > This patch make normal "kexec -l" first try physical address suggested > by vmlinux. > > If there is no enough memory, kexec tools will search /proc/iomem and > find a place to put the new kernel. > > This is necessary for "kexec -l" to work on SN platform. > > Signed-off-by: Zou Nan hai <nanhai.zou@intel.com> > Hi Nan hai, sorry for not responding sooner. I have take a look at your patch with an eye to including it into kexec-tools-testing. It does seem like a good feature. Below is an updated version of the patch that cleans up your implementation a little. In particular. * update_loaded_segments() returns -1 on error, 0 on success - amongst other things the previous incarnation could return nothing at all in once case. * else { if () { ; } } -> else if () { ; } * < 80 columns wide * removed trailing whitespace Is it ok to apply this incarntation of the patch? I can make my changes a second patch if you prefer. Signed-off-by: Simon Horman <horms@verge.net.au> * Incremental version of above patch * Include kexec-ia64.h in kexec-elf-ia64.c for update_loaded_segments() Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.c')
0 files changed, 0 insertions, 0 deletions