* [PATCH] Remove unused variable "cpu" from arch/x86/xen/setup.c
@ 2008-05-11 17:27 Manish Katiyar
2008-05-12 2:45 ` Rabin Vincent
0 siblings, 1 reply; 3+ messages in thread
From: Manish Katiyar @ 2008-05-11 17:27 UTC (permalink / raw
To: LKML
Remove unused variable "cpu" from arch/x86/xen/setup.c
Signed-off-by : Manish Katiyar (mkatiyar@gmail.com)
diff -Nur a/x86/xen/setup.c b/arch/x86/xen/setup.c
--- a/arch/x86/xen/setup.c 2008-04-26 20:36:15.000000000 +0530
+++ b/arch/x86/xen/setup.c 2008-05-11 22:50:35.000000000 +0530
@@ -71,7 +71,6 @@
void xen_enable_sysenter(void)
{
- int cpu = smp_processor_id();
extern void xen_sysenter_target(void);
/* Mask events on entry, even though they get enabled immediately */
static struct callback_register sysenter = {
--
Thanks & Regards,
********************************************
Manish Katiyar ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Remove unused variable "cpu" from arch/x86/xen/setup.c
@ 2008-05-11 17:49 Manish Katiyar
0 siblings, 0 replies; 3+ messages in thread
From: Manish Katiyar @ 2008-05-11 17:49 UTC (permalink / raw
To: kernel-janitors
Forgot to cc to Janitors list.
---------- Forwarded message ----------
From: Manish Katiyar <mkatiyar@gmail.com>
Date: Sun, May 11, 2008 at 10:57 PM
Subject: [PATCH] Remove unused variable "cpu" from arch/x86/xen/setup.c
To: LKML <linux-kernel@vger.kernel.org>
Remove unused variable "cpu" from arch/x86/xen/setup.c
Signed-off-by : Manish Katiyar (mkatiyar@gmail.com)
diff -Nur a/x86/xen/setup.c b/arch/x86/xen/setup.c
--- a/arch/x86/xen/setup.c 2008-04-26 20:36:15.000000000 +0530
+++ b/arch/x86/xen/setup.c 2008-05-11 22:50:35.000000000 +0530
@@ -71,7 +71,6 @@
void xen_enable_sysenter(void)
{
- int cpu = smp_processor_id();
extern void xen_sysenter_target(void);
/* Mask events on entry, even though they get enabled immediately */
static struct callback_register sysenter = {
--
Thanks & Regards,
********************************************
Manish Katiyar ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************
--
Thanks & Regards,
********************************************
Manish Katiyar ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove unused variable "cpu" from arch/x86/xen/setup.c
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
0 siblings, 0 replies; 3+ messages in thread
From: Rabin Vincent @ 2008-05-12 2:45 UTC (permalink / raw
To: Manish Katiyar; +Cc: LKML
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-12 2:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- strict thread matches above, loose matches on Subject: below --
2008-05-11 17:49 Manish Katiyar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.