tree: git://git.kernel.org/pub/scm/virt/kvm/kvm.git queue head: 8f536b7697a0d40ef6b5fd04cf2c04953d5ca06f commit: f23d1f4a116038c68df224deae6718fde87d8f0d [8/9] x86/kexec: VMCLEAR VMCSs loaded on all cpus if necessary sparse warnings: + arch/x86/kernel/crash.c:49:32: sparse: incompatible types in comparison expression (different address spaces) vim +49 arch/x86/kernel/crash.c 5edd19af Cliff Wickman 2010-07-20 33 f23d1f4a Zhang Yanfei 2012-12-06 34 /* f23d1f4a Zhang Yanfei 2012-12-06 35 * This is used to VMCLEAR all VMCSs loaded on the f23d1f4a Zhang Yanfei 2012-12-06 36 * processor. And when loading kvm_intel module, the f23d1f4a Zhang Yanfei 2012-12-06 37 * callback function pointer will be assigned. f23d1f4a Zhang Yanfei 2012-12-06 38 * f23d1f4a Zhang Yanfei 2012-12-06 39 * protected by rcu. f23d1f4a Zhang Yanfei 2012-12-06 40 */ f23d1f4a Zhang Yanfei 2012-12-06 41 void (*crash_vmclear_loaded_vmcss)(void) = NULL; f23d1f4a Zhang Yanfei 2012-12-06 42 EXPORT_SYMBOL_GPL(crash_vmclear_loaded_vmcss); f23d1f4a Zhang Yanfei 2012-12-06 43 f23d1f4a Zhang Yanfei 2012-12-06 44 static inline void cpu_crash_vmclear_loaded_vmcss(void) f23d1f4a Zhang Yanfei 2012-12-06 45 { f23d1f4a Zhang Yanfei 2012-12-06 46 void (*do_vmclear_operation)(void) = NULL; f23d1f4a Zhang Yanfei 2012-12-06 47 f23d1f4a Zhang Yanfei 2012-12-06 48 rcu_read_lock(); f23d1f4a Zhang Yanfei 2012-12-06 @49 do_vmclear_operation = rcu_dereference(crash_vmclear_loaded_vmcss); f23d1f4a Zhang Yanfei 2012-12-06 50 if (do_vmclear_operation) f23d1f4a Zhang Yanfei 2012-12-06 51 do_vmclear_operation(); f23d1f4a Zhang Yanfei 2012-12-06 52 rcu_read_unlock(); f23d1f4a Zhang Yanfei 2012-12-06 53 } f23d1f4a Zhang Yanfei 2012-12-06 54 b2bbe71b Eduardo Habkost 2008-11-12 55 #if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC) b2bbe71b Eduardo Habkost 2008-11-12 56 9c48f1c6 Don Zickus 2011-09-30 57 static void kdump_nmi_callback(int cpu, struct pt_regs *regs) --- 0-DAY kernel build testing backend Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html