]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
ballon sysfs: Avoid sysfs name-clash with Linux memory hotplug
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 31 Mar 2008 15:49:23 +0000 (16:49 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 31 Mar 2008 15:49:23 +0000 (16:49 +0100)
infrastructure by renaming to /sys/devices/system/xen_memory/
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
linux-2.6.18-xen changeset:   500:171ffa6bf3a51ddf83d559c4d9312a3603497ff1
linux-2.6.18-xen date:        Fri Mar 28 14:27:38 2008 +0000

linux-2.6-xen-sparse/drivers/xen/balloon/sysfs.c

index 607923236486d0906755fc2cddf6b8b08de77eb1..a51d2a25c2cc8968c076290335df8c44e4ab983b 100644 (file)
@@ -39,7 +39,7 @@
 #include <xen/platform-compat.h>
 #endif
 
-#define BALLOON_CLASS_NAME "memory"
+#define BALLOON_CLASS_NAME "xen_memory"
 
 #define BALLOON_SHOW(name, format, args...)                    \
        static ssize_t show_##name(struct sys_device *dev,      \