projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: Remove malloc allocator
[yaffs2.git]
/
yportenv_single.h
diff --git
a/yportenv_single.h
b/yportenv_single.h
index 4710c2b9ca24a337501a4438454f6b7739113012..6cea9febc435d0f3d32fecba1296a272e197a32d 100644
(file)
--- a/
yportenv_single.h
+++ b/
yportenv_single.h
@@
-35,8
+35,6
@@
#define YUCHAR unsigned char
#define _Y(x) x
#define YUCHAR unsigned char
#define _Y(x) x
-#define Y_INLINE __inline__
-
#define YAFFS_LOSTNFOUND_NAME "lost+found"
#define YAFFS_LOSTNFOUND_PREFIX "obj"
#define YAFFS_LOSTNFOUND_NAME "lost+found"
#define YAFFS_LOSTNFOUND_PREFIX "obj"
@@
-53,12
+51,12
@@
#ifndef Y_DUMP_STACK
#define Y_DUMP_STACK() dump_stack()
#ifndef Y_DUMP_STACK
#define Y_DUMP_STACK() dump_stack()
-
#endif
#endif
+
#define yaffs_trace(msk, fmt, ...) do { \
#define yaffs_trace(msk, fmt, ...) do { \
- if
(yaffs_trace_mask & ((msk) | YAFFS_TRACE_ALWAYS
)) \
+ if
(yaffs_trace_mask & (msk
)) \
printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__); \
printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__); \
-} while(0)
+} while
(0)
#ifndef YBUG
#define YBUG() do {\
#ifndef YBUG
#define YBUG() do {\
@@
-69,5
+67,4
@@
} while (0)
#endif
} while (0)
#endif
-
#endif
#endif