[IA64] Cleanup in crash.c

Grammatical fixes (s/freezed/frozen/)
Make some variables static
Change a C++ "//" comment to "/* ... */"

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Simon Horman and committed by Tony Luck 0ac1faca 29763254

+5 -5
+5 -5
arch/ia64/kernel/crash.c
··· 21 21 #include <asm/mca.h> 22 22 23 23 int kdump_status[NR_CPUS]; 24 - atomic_t kdump_cpu_freezed; 24 + static atomic_t kdump_cpu_frozen; 25 25 atomic_t kdump_in_progress; 26 - int kdump_on_init = 1; 26 + static int kdump_on_init = 1; 27 27 28 28 static inline Elf64_Word 29 29 *append_elf_note(Elf64_Word *buf, char *name, unsigned type, void *data, ··· 86 86 int cpu_num = num_online_cpus() - 1; 87 87 int timeout = 1000; 88 88 while(timeout-- > 0) { 89 - if (atomic_read(&kdump_cpu_freezed) == cpu_num) 89 + if (atomic_read(&kdump_cpu_frozen) == cpu_num) 90 90 return 0; 91 91 udelay(1000); 92 92 } ··· 108 108 kexec_disable_iosapic(); 109 109 #ifdef CONFIG_SMP 110 110 kdump_smp_send_stop(); 111 + /* not all cpu response to IPI, send INIT to freeze them */ 111 112 if (kdump_wait_cpu_freeze() && kdump_on_init) { 112 - //not all cpu response to IPI, send INIT to freeze them 113 113 kdump_smp_send_init(); 114 114 } 115 115 #endif ··· 136 136 cpuid = smp_processor_id(); 137 137 crash_save_this_cpu(); 138 138 current->thread.ksp = (__u64)info->sw - 16; 139 - atomic_inc(&kdump_cpu_freezed); 139 + atomic_inc(&kdump_cpu_frozen); 140 140 kdump_status[cpuid] = 1; 141 141 mb(); 142 142 #ifdef CONFIG_HOTPLUG_CPU