From: Jeremy Fitzhardinge <jeremy@goop.org>
Date: Mon, 8 Sep 2008 16:54:49 +0000 (-0700)
Subject: xen: fix 2.6.27-rc5 xen balloon driver warnings
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0253398ca1df7e1d2bfbb452175c964a0862482c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

xen: fix 2.6.27-rc5 xen balloon driver warnings

Set the class so it doesn't clash with the normal memory class.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
===================================================================
---

diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c
index d4427cb86979..2e15da5459cf 100644
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -60,7 +60,7 @@
 
 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10))
 
-#define BALLOON_CLASS_NAME "memory"
+#define BALLOON_CLASS_NAME "xen_memory"
 
 struct balloon_stats {
 	/* We aim for 'current allocation' == 'target allocation'. */