xen: fix 2.6.27-rc5 xen balloon driver warnings
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 8 Sep 2008 16:54:49 +0000 (09:54 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Sep 2008 18:21:15 +0000 (20:21 +0200)
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>
===================================================================

drivers/xen/balloon.c

index d4427cb..2e15da5 100644 (file)
@@ -60,7 +60,7 @@
 
 #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10))
 
 
 #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'. */
 
 struct balloon_stats {
        /* We aim for 'current allocation' == 'target allocation'. */