|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] linux/x86-64: slightly simplify smp-xen.c
Two Xen conditionals can be folded into one, as the code between the
two is also not used on Xen.
As usual, written and tested on 2.6.25-rc5 and made apply to the 2.6.18
tree without further testing.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Index: head-2008-03-11/arch/x86_64/kernel/smp-xen.c
===================================================================
--- head-2008-03-11.orig/arch/x86_64/kernel/smp-xen.c 2008-03-12
17:16:04.000000000 +0100
+++ head-2008-03-11/arch/x86_64/kernel/smp-xen.c 2008-03-11
14:46:33.000000000 +0100
@@ -69,7 +69,6 @@
to a full cache line because other CPUs can access it and we don't
want false sharing in the per cpu data segment. */
static DEFINE_PER_CPU(union smp_flush_state, flush_state);
-#endif
/*
* We cannot call mmdrop() because we are in interrupt context,
@@ -83,7 +83,6 @@
load_cr3(swapper_pg_dir);
}
-#ifndef CONFIG_XEN
/*
*
* The flush IPI assumes that a thread switch happens in this order:
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] linux/x86-64: slightly simplify smp-xen.c,
Jan Beulich <=
|
|
|
|
|