X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yportenv_single.h;h=76a7914940fcfa6f437b535a2771f6605a896630;hp=d8194754a8f3c49dd20e28b982b681095b73191a;hb=33308768bd24abe4e1f59c5025a3dd824119ae1d;hpb=2c98f380f6e28ef71d4d7a8a174cc22b0481f102 diff --git a/yportenv_single.h b/yportenv_single.h index d819475..76a7914 100644 --- a/yportenv_single.h +++ b/yportenv_single.h @@ -49,6 +49,9 @@ #define compile_time_assertion(assertion) \ ({ int x = __builtin_choose_expr(assertion, 0, (void)0); (void) x; }) +#define yaffs_printf(msk, fmt, ...) \ + printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__) + #ifdef CONFIG_YAFFS_DEBUG #define yaffs_trace(msk, fmt, ...) do { \ if (yaffs_trace_mask & (msk)) \