X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yportenv_single.h;h=8183425448cde06732aa5499156c661fe1314e90;hp=4710c2b9ca24a337501a4438454f6b7739113012;hb=6a1296f4458cb8eff1535a8618f45379655e5aa5;hpb=79d0e028d5b777b2e4cf55d96b737cb024988abe diff --git a/yportenv_single.h b/yportenv_single.h index 4710c2b..8183425 100644 --- a/yportenv_single.h +++ b/yportenv_single.h @@ -35,8 +35,6 @@ #define YUCHAR unsigned char #define _Y(x) x -#define Y_INLINE __inline__ - #define YAFFS_LOSTNFOUND_NAME "lost+found" #define YAFFS_LOSTNFOUND_PREFIX "obj" @@ -53,10 +51,10 @@ #ifndef Y_DUMP_STACK #define Y_DUMP_STACK() dump_stack() - #endif + #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__); \ } while(0) @@ -69,5 +67,4 @@ } while (0) #endif - #endif