# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 0665256a7a5368f3e76366448696aeddb8643bb5
# Parent 6796157b5f8a8cd0ffcdb81a794b228e6314ae3b
[IA64] cleanup
Minor cleanups from the previous patch
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
diff -r 6796157b5f8a -r 0665256a7a53 xen/arch/ia64/linux-xen/smp.c
--- a/xen/arch/ia64/linux-xen/smp.c Thu Mar 30 12:41:48 2006 -0700
+++ b/xen/arch/ia64/linux-xen/smp.c Thu Mar 30 12:47:45 2006 -0700
@@ -47,8 +47,8 @@
#include <asm/tlbflush.h>
#include <asm/unistd.h>
#include <asm/mca.h>
+#ifdef XEN
#include <asm/vhpt.h>
-#ifdef XEN
#include <asm/hw_irq.h>
#endif
@@ -291,11 +291,14 @@ smp_flush_tlb_all (void)
{
on_each_cpu((void (*)(void *))local_flush_tlb_all, NULL, 1, 1);
}
+
+#ifdef XEN
void
smp_vhpt_flush_all(void)
{
- on_each_cpu((void (*)(void *))vhpt_flush, NULL, 1, 1);
-}
+ on_each_cpu((void (*)(void *))vhpt_flush, NULL, 1, 1);
+}
+#endif
#ifndef XEN
void
diff -r 6796157b5f8a -r 0665256a7a53 xen/include/asm-ia64/vhpt.h
--- a/xen/include/asm-ia64/vhpt.h Thu Mar 30 12:41:48 2006 -0700
+++ b/xen/include/asm-ia64/vhpt.h Thu Mar 30 12:47:45 2006 -0700
@@ -20,7 +20,7 @@
#ifdef CONFIG_SMP
# define vhpt_flush_all() smp_vhpt_flush_all()
#else
-# define vhpt_flush_all() vhpt_flush()
+# define vhpt_flush_all() vhpt_flush()
#endif
// FIXME: These should be automatically generated
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|