Re: [PATCH 1/1] x86: Convert cpuinfo_x86 array to a per_cpu array v3

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <travis@...>
Cc: Andrew Morton <akpm@...>, Andi Kleen <ak@...>, Christoph Lameter <clameter@...>, Jack Steiner <steiner@...>, <linux-mm@...>, <linux-kernel@...>
Date: Monday, September 24, 2007 - 6:01 pm

travis@sgi.com wrote:

while we're at it, we could change this to

  	if (!(c->x86_vendor == X86_VENDOR_AMD && c->x86 == 5 &&
  		(c->x86_model == 12 || c->x86_model == 13)))


You could also use the max macro here:
	max(tx, 1) 
instead of (tx < 1 ? 1 : tx)


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/1] x86: Convert cpuinfo_x86 array to a per_cpu ..., roel, (Mon Sep 24, 6:01 pm)