void crash_kexec(void) 
void crash_kexec(struct pt_regs *regs) 
void crash_kexec(void){	struct kimage *image;	int locked;	/* Take the kexec_lock here to prevent sys_kexec_load	 * running on one cpu from replacing the crash kernel	 * we are using after a panic on a different cpu.	 *	 * If the crash kernel was not located in a fixed area	 * of memory the xchg(&kexec_crash_image) would be	 * sufficient.  But since I reuse the memory...	 */	locked = xchg(&kexec_lock, 1);	if (!locked) {		image = xchg(&kexec_crash_image, NULL);		if (image) {			machine_crash_shutdown();			machine_kexec(image);		}		xchg(&kexec_lock, 0);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6e274d144302068a00794ec22e73520c0615cb6f/kexec.c/clean/kernel/kexec.c