Re: [PATCH] Remove unused variable "cpu" from arch/x86/xen/setup.c

From: Rabin Vincent
Date: Sun May 11 2008 - 22:45:50 EST


On Sun, May 11, 2008 at 10:57:12PM +0530, Manish Katiyar wrote:
> void xen_enable_sysenter(void)
> {
> - int cpu = smp_processor_id();

This variable is used when building for SMP:

> if (!boot_cpu_has(X86_FEATURE_SEP) ||
> HYPERVISOR_callback_op(CALLBACKOP_register, &sysenter) != 0) {
> clear_cpu_cap(&cpu_data(cpu), X86_FEATURE_SEP); <-----
> clear_cpu_cap(&boot_cpu_data, X86_FEATURE_SEP);

Rabin
--
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/