Re: [PATCH 1/2] i386: mce cleanup part1: functional change

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Verych
Date: Tuesday, October 9, 2007 - 9:04 am

* Tue,  9 Oct 2007 14:49:55 +0200

[]

cpu_has() returns int,
but would it be better to have something like

  	if (!mce_disabled &&
	    !(c->x86_capability & (X86_FEATURE_MCA | X86_FEATURE_MCE)) {
		printk(KERN_INFO "CPU%i: No machine check support available\n",
			smp_processor_id());
		return;
	} else
		return;
?
____
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] i386: MCE updates, Joerg Roedel, (Tue Oct 9, 5:49 am)
[PATCH 1/2] i386: mce cleanup part1: functional change, Joerg Roedel, (Tue Oct 9, 5:49 am)
Re: [PATCH 1/2] i386: mce cleanup part1: functional change, Oleg Verych, (Tue Oct 9, 9:04 am)
Re: [PATCH 1/2] i386: mce cleanup part1: functional change, Valdis.Kletnieks, (Tue Oct 9, 1:46 pm)