[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090102185829.GA14249@elte.hu>
Date:	Fri, 2 Jan 2009 19:58:29 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Pekka Enberg <penberg@...helsinki.fi>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Mike Travis <travis@....com>
Cc:	Jaswinder Singh Rajput <jaswinder@...radead.org>, hpa@...nel.org,
	x86 maintainers <x86@...nel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: cpuid.c fix style problems
* Pekka Enberg <penberg@...helsinki.fi> wrote:
> On Wed, Dec 31, 2008 at 12:59 PM, Jaswinder Singh Rajput
> <jaswinder@...radead.org> wrote:
> >        cpu = iminor(file->f_path.dentry->d_inode);
> > -       if (cpu >= NR_CPUS || !cpu_online(cpu)) {
> > +       if (cpu >= num_possible_cpus() || !cpu_online(cpu)) {
> 
> How come you didn't convert the first part of the expression to use
> cpu_possible()?
i skipped this bit btw., as it got mooted by the cleanups in the cpumask 
and cpus4096 trees.
	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
