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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: roel
Date: Monday, September 24, 2007 - 3: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_cp ..., roel, (Mon Sep 24, 3:01 pm)