Skip to content

Commit

Permalink
xen: fix 2.6.27-rc5 xen balloon driver warnings
Browse files Browse the repository at this point in the history
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>
===================================================================
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Sep 8, 2008
1 parent 23952a9 commit 0253398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/balloon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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'. */
Expand Down

0 comments on commit 0253398

Please sign in to comment.