public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rabin Vincent <rabin@rab.in>
To: Manish Katiyar <mkatiyar@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Remove unused variable "cpu" from arch/x86/xen/setup.c
Date: Mon, 12 May 2008 08:15:22 +0530	[thread overview]
Message-ID: <20080512024521.GA20281@debian> (raw)
In-Reply-To: <ea11fea30805111027x63aa4e44m81407296d16766d8@mail.gmail.com>

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

      reply	other threads:[~2008-05-12  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-11 17:27 [PATCH] Remove unused variable "cpu" from arch/x86/xen/setup.c Manish Katiyar
2008-05-12  2:45 ` Rabin Vincent [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080512024521.GA20281@debian \
    --to=rabin@rab.in \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkatiyar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox