[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1349353849.14388.2.camel@twins>
Date:	Thu, 04 Oct 2012 14:30:49 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Tang Chen <tangchen@...fujitsu.com>
Cc:	srivatsa.bhat@...ux.vnet.ibm.com, mingo@...nel.org,
	tglx@...utronix.de, linux-kernel@...r.kernel.org, x86@...nel.org,
	linux-numa@...r.kernel.org, Wen Congyang <wency@...fujitsu.com>
Subject: Re: [PATCH v2 2/2] Update sched_domains_numa_masks when new cpus
 are onlined.
On Tue, 2012-09-25 at 21:12 +0800, Tang Chen wrote:
> +static int sched_domains_numa_masks_update(struct notifier_block
> *nfb,
> +                                          unsigned long action,
> +                                          void *hcpu)
> +{
> +       int cpu = (int)hcpu; 
kernel/sched/core.c: In function ‘sched_domains_numa_masks_update’:
kernel/sched/core.c:6299:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
I've changed it to:
	int cpu = (long)hcpu;
--
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