Re: [PATCH 1/2] cpumask: update local_cpus_show to use new cpumask API

From: Jesse Barnes
Date: Mon Jan 05 2009 - 16:10:25 EST


On Monday, January 5, 2009 12:33 pm Mike Travis wrote:
> Impact: cleanup, reduce stack usage, use new cpumask API.
>
> Replace the local cpumask_t variable with a pointer to the
> const cpumask that needs to be printed.
>
> Signed-off-by: Mike Travis <travis@xxxxxxx>
> Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
> ---
> drivers/pci/pci-sysfs.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)

Hm, clearly there are other patches in Ingo's tree that this depends on, since
this patch assumes the presence of cpumask_of_pcibus and has slightly
different cpumask_scnprintf context. I'll just let Ingo push the whole thing.

--
Jesse Barnes, Intel Open Source Technology Center

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/