From: Jeremy Fitzhardinge Date: Mon, 8 Sep 2008 16:54:49 +0000 (-0700) Subject: xen: fix 2.6.27-rc5 xen balloon driver warnings X-Git-Tag: v2.6.27-rc6~4^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0253398ca1df7e1d2bfbb452175c964a0862482c;p=linux-2.6 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 Signed-off-by: Ingo Molnar =================================================================== --- diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index d4427cb869..2e15da5459 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'. */