diff options
author | Simon Horman <horms@verge.net.au> | 2006-09-22 16:45:33 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2006-10-06 12:46:16 +0900 |
commit | f7c2909515bd0080d9adf3e7923874bbc0ecc033 (patch) | |
tree | f48542007d88445a3a7a7a9432aba76f0c34dd79 /purgatory | |
parent | c76818f11c0ffe6ca5d1053d4a330621d333ff8a (diff) | |
download | kexec-tools-f7c2909515bd0080d9adf3e7923874bbc0ecc033.tar.gz |
kexec-tools: Use consistent comment style patch_efi_memmap()
This unifies the comments in purgatory-ia64.c to always use C style
comments. Previously some comments where C style, while others were
C++ style.
Signed-Off-By: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
-rw-r--r-- | purgatory/arch/ia64/purgatory-ia64.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/purgatory/arch/ia64/purgatory-ia64.c b/purgatory/arch/ia64/purgatory-ia64.c index 6e06ca29..661ab324 100644 --- a/purgatory/arch/ia64/purgatory-ia64.c +++ b/purgatory/arch/ia64/purgatory-ia64.c @@ -169,7 +169,7 @@ patch_efi_memmap(struct kexec_boot_params *params, *dst_md = *src_md; if (src_md->type == EFI_LOADER_DATA) dst_md->type = EFI_CONVENTIONAL_MEMORY; - // segments are already sorted and aligned to 4K + /* segments are already sorted and aligned to 4K */ orig_type = dst_md->type; for (i = 0; i < params->loaded_segments_num; i++) { struct loaded_segment *seg; @@ -240,8 +240,7 @@ ia64_env_setup(struct ia64_boot_param *boot_param, struct ia64_boot_param *new_boot_param = (struct ia64_boot_param *) params->boot_param_base; memcpy(new_boot_param, boot_param, 4096); - // patch efi_runtime->set_virtual_address_map to a - // dummy function + /* patch efi_runtime->set_virtual_address_map to a dummy function */ len = __dummy_efi_function_end - __dummy_efi_function; memcpy(command_line + command_line_len, __dummy_efi_function, len); |