lkml.org 
[lkml]   [2007]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 27/28] paravirt: little compile fixes for vmi.c
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Zachary Amsden <zach@vmware.com>

---
arch/i386/kernel/vmi.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
===================================================================
--- a/arch/i386/kernel/vmi.c
+++ b/arch/i386/kernel/vmi.c
@@ -73,10 +73,6 @@ static struct {
void (*set_lazy_mode)(int mode);
} vmi_ops;

-/* XXX move this to alternative.h */
-extern struct paravirt_patch __parainstructions[],
- __parainstructions_end[];
-
/* Cached VMI operations */
struct vmi_timer_ops vmi_timer_ops;

@@ -548,9 +544,9 @@ vmi_startup_ipi_hook(int phys_apicid, un
}
#endif

-static void vmi_set_lazy_mode(int mode)
-{
- static DEFINE_PER_CPU(int, lazy_mode);
+static void vmi_set_lazy_mode(enum paravirt_lazy_mode mode)
+{
+ static DEFINE_PER_CPU(enum paravirt_lazy_mode, lazy_mode);

if (!vmi_ops.set_lazy_mode)
return;
--

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

\
 
 \ /
  Last update: 2007-04-14 23:25    [W:0.735 / U:0.620 seconds]
©2003-2014 Jasper Spaans. hosted at Digital Ocean