Re: [PATCH] How to get number of physical CPU in linux from user

Alan Cox (alan@lxorguk.ukuu.org.uk)
25 Oct 2002 22:13:04 +0100


On Fri, 2002-10-25 at 20:09, Robert Love wrote:

> +#ifdef CONFIG_SMP
> + seq_printf(m, "physical processor ID\t: %d\n", phys_proc_id[n]);
> + seq_printf(m, "number of siblings\t: %d\n", smp_num_siblings);
> +#endif

Congratulations you just broke glibc. There are reasons the -ac patch
was changed to print something a little different.

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