tools lib api fs: Move SYSFS_MAGIC PROC_SUPER_MAGIC into fs.c
[firefly-linux-kernel-4.4.55.git] / tools / lib / api / fs / fs.c
index 5e838d3c419d58af5fa3fe91c614567db7fc1266..0700eb953495196bc9f46cecc2557611574f9a3d 100644 (file)
 #define _STR(x) #x
 #define STR(x) _STR(x)
 
+#ifndef SYSFS_MAGIC
+#define SYSFS_MAGIC            0x62656572
+#endif
+
+#ifndef PROC_SUPER_MAGIC
+#define PROC_SUPER_MAGIC       0x9fa0
+#endif
+
 static const char * const sysfs__fs_known_mountpoints[] = {
        "/sys",
        0,