diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-01-11 16:57:20 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-01-30 13:15:21 +0900 |
commit | 348896c70439534a6cef78496036dea82a93c19b (patch) | |
tree | 6ce154b1e82de9b8444f4d8d1be9ed696451f898 /kexec/arch/i386/x86-linux-setup.h | |
parent | d722eba67e5c54645588df8e56b56d7722f29431 (diff) |
kexec,x86: remove duplicate get_memory_ranges
At first, we have already filled the kexec_info.memory_ranges by
calling my_load() -> get_memory_ranges(). So if we want to
get the memory information, we could just use the existing
one instead of calling get_memory_ranges again.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/i386/x86-linux-setup.h')
-rw-r--r-- | kexec/arch/i386/x86-linux-setup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/i386/x86-linux-setup.h b/kexec/arch/i386/x86-linux-setup.h index 8862513..96fbd33 100644 --- a/kexec/arch/i386/x86-linux-setup.h +++ b/kexec/arch/i386/x86-linux-setup.h @@ -7,8 +7,8 @@ void setup_linux_bootloader_parameters( unsigned long real_mode_base, unsigned long cmdline_offset, const char *cmdline, off_t cmdline_len, const char *initrd_buf, off_t initrd_size); -void setup_linux_system_parameters(struct x86_linux_param_header *real_mode, - unsigned long kexec_flags); +void setup_linux_system_parameters(struct kexec_info *info, + struct x86_linux_param_header *real_mode); #define SETUP_BASE 0x90000 |