summaryrefslogtreecommitdiff
path: root/yportenv_multi.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-12-10 15:56:48 +1300
committerCharles Manning <cdhmanning@gmail.com>2010-12-10 15:56:48 +1300
commit5062df7307f71d3374da87a7c69102dc3f09da28 (patch)
treec66fa287b9e59ddcf7b5e3ef803b52067cb58a4f /yportenv_multi.h
parent79d0e028d5b777b2e4cf55d96b737cb024988abe (diff)
yaffs: More cleanup of tracing, inlines and general formatting
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yportenv_multi.h')
-rw-r--r--yportenv_multi.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/yportenv_multi.h b/yportenv_multi.h
index e536796..4dddf63 100644
--- a/yportenv_multi.h
+++ b/yportenv_multi.h
@@ -51,13 +51,6 @@
#define YUCHAR unsigned char
#define _Y(x) x
-#define Y_INLINE __inline__
-
-#define yaffs_trace(msk, fmt, ...) do { \
- if(yaffs_trace_mask & ((msk) | YAFFS_TRACE_ALWAYS)) \
- printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__); \
-} while(0)
-
#define YAFFS_LOSTNFOUND_NAME "lost+found"
#define YAFFS_LOSTNFOUND_PREFIX "obj"
@@ -81,6 +74,11 @@
#define Y_DUMP_STACK() dump_stack()
#endif
+#define yaffs_trace(msk, fmt, ...) do { \
+ if(yaffs_trace_mask & ((msk) | YAFFS_TRACE_ALWAYS)) \
+ printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__); \
+} while(0)
+
#ifndef YBUG
#define YBUG() do {\
yaffs_trace(YAFFS_TRACE_BUG,\