Displaying 1 result from an estimated 1 matches for "__mkw".
2004 Oct 11
1
util/typefs breaks with recent headers
...ange the header to be ok for userspace
diff -ur ../linux-2.5/include/linux/romfs_fs.h
linux/include/linux/romfs_fs.h
--- ../linux-2.5/include/linux/romfs_fs.h 2004-10-08 21:37:26.000000000
+0200
+++ linux/include/linux/romfs_fs.h 2004-10-11 17:35:23.000000000 +0200
@@ -12,7 +12,7 @@
#define __mkw(h,l) (((h)&0x00ff)<< 8|((l)&0x00ff))
#define __mkl(h,l) (((h)&0xffff)<<16|((l)&0xffff))
-#define __mk4(a,b,c,d) cpu_to_be32(__mkl(__mkw(a,b),__mkw(c,d)))
+#define __mk4(a,b,c,d) __cpu_to_be32(__mkl(__mkw(a,b),__mkw(c,d)))
#define ROMSB_WORD0 __mk4('-','r&...