|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-devel] [PATCH] xen: balloon: compilation fix.
This patch is for the pv_ops patch queue repository.
Although the repository is just a snapshot and I'm not sure which patch
is planned to send for the next merge window, I'd like to make them
compile on ia64 because I'd like to merge the ia64 xen domU patches
into the upstream.
xen: balloon. compilation fix.
balloon driver doesn't link on ia64 as follows.
This patch make it compile for ia64.
> drivers/built-in.o: In function `increase_reservation':
> /linux-2.6/drivers/xen/balloon.c:213: undefined reference to
> `reservation_lock'
> /linux-2.6/drivers/xen/balloon.c:213: undefined reference to
> `reservation_lock'
> /linux-2.6/drivers/xen/balloon.c:271: undefined reference to
> `reservation_lock'
> /linux-2.6/drivers/xen/balloon.c:271: undefined reference to
> `reservation_lock'
> drivers/built-in.o: In function `decrease_reservation':
> /linux-2.6/drivers/xen/balloon.c:308: undefined reference to
> `reservation_lock'
> drivers/built-in.o:/linux-2.6/drivers/xen/balloon.c:308: more undefined
> references to `reservation_lock' follow
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r 498a474592c7 arch/x86/xen/mmu.c
--- a/arch/x86/xen/mmu.c Mon Oct 06 15:54:03 2008 +0900
+++ b/arch/x86/xen/mmu.c Mon Oct 06 16:00:50 2008 +0900
@@ -63,13 +63,6 @@
#include "debugfs.h"
#define MMU_UPDATE_HISTO 30
-
-/*
- * Protects atomic reservation decrease/increase against concurrent increases.
- * Also protects non-atomic updates of current_pages and driver_pages, and
- * balloon lists.
- */
-DEFINE_SPINLOCK(reservation_lock);
#ifdef CONFIG_XEN_DEBUG_FS
diff -r 498a474592c7 drivers/xen/balloon.c
--- a/drivers/xen/balloon.c Mon Oct 06 15:54:03 2008 +0900
+++ b/drivers/xen/balloon.c Mon Oct 06 16:00:50 2008 +0900
@@ -84,6 +84,13 @@
static struct sys_device balloon_sysdev;
static int register_balloon(struct sys_device *sysdev);
+
+/*
+ * Protects atomic reservation decrease/increase against concurrent increases.
+ * Also protects non-atomic updates of current_pages and driver_pages, and
+ * balloon lists.
+ */
+DEFINE_SPINLOCK(reservation_lock);
static struct balloon_stats balloon_stats;
--
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] xen: balloon: compilation fix.,
Isaku Yamahata <=
|
Previous by Date: |
RE: [Xen-ia64-devel] Xen/IPF Unstable CS#18580, Linux#687, ioemu#0f3d6384... Status Report --- no new issue, Zhang, Jingke |
Next by Date: |
[Xen-ia64-devel] [PATCH] xen: make events.c compile for ia64., Isaku Yamahata |
Previous by Thread: |
[Xen-ia64-devel] Xen/IPF Unstable CS#18580, Linux#687, ioemu#0f3d6384... Status Report --- no new issue, Zhang, Jingke |
Next by Thread: |
[Xen-ia64-devel] Re: [PATCH] xen: balloon: compilation fix., Isaku Yamahata |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|