projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change string concats to work with all OSs
[yaffs2.git]
/
yportenv.h
diff --git
a/yportenv.h
b/yportenv.h
index bfda36e8aaa3b047ad8be01156de4b8e1b8b8438..ae2c5b6ecfe133b92554fecd0c204f0bf40dafad 100644
(file)
--- a/
yportenv.h
+++ b/
yportenv.h
@@
-65,7
+65,7
@@
#define YAFFS_LOSTNFOUND_PREFIX "obj"
/* #define YPRINTF(x) printk x */
#define YAFFS_LOSTNFOUND_PREFIX "obj"
/* #define YPRINTF(x) printk x */
-#define YMALLOC(x) kmalloc(x,GFP_
KERNEL
)
+#define YMALLOC(x) kmalloc(x,GFP_
NOFS
)
#define YFREE(x) kfree(x)
#define YMALLOC_ALT(x) vmalloc(x)
#define YFREE_ALT(x) vfree(x)
#define YFREE(x) kfree(x)
#define YMALLOC_ALT(x) vmalloc(x)
#define YFREE_ALT(x) vfree(x)
@@
-90,6
+90,7
@@
#define TENDSTR "\n"
#define TSTR(x) KERN_WARNING x
#define TENDSTR "\n"
#define TSTR(x) KERN_WARNING x
+#define TCONT(x) x
#define TOUT(p) printk p
#define yaffs_trace(mask, fmt, args...) \
#define TOUT(p) printk p
#define yaffs_trace(mask, fmt, args...) \