[PATCH] ocfs2: fix -Wformat warnings when building UML on x86-64
[sfrench/cifs-2.6.git] / fs / ocfs2 / cluster / masklog.h
index e8c56a3d9c646d465f8bc0af757c4d47bc3d003c..2cadc3009c8377db73af7eb98404f5cdbb2aed13 100644 (file)
@@ -256,7 +256,7 @@ extern struct mlog_bits mlog_and_bits, mlog_not_bits;
        }                                                               \
 } while (0)
 
-#if (BITS_PER_LONG == 32) || defined(CONFIG_X86_64)
+#if (BITS_PER_LONG == 32) || defined(CONFIG_X86_64) || (defined(CONFIG_UML_X86) && defined(CONFIG_64BIT))
 #define MLFi64 "lld"
 #define MLFu64 "llu"
 #define MLFx64 "llx"