lkml.org 
[lkml]   [2008]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Remove unused variable "cpu" from arch/x86/xen/setup.c
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


\
 
 \ /
  Last update: 2008-05-12 04:47    [W:0.030 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site