X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yportenv_multi.h;h=8975af331ea12230ab0b8db9dcf2a2092e9c2e31;hp=a74d3980657e7c1eaa8df5da738182dadaa35465;hb=33308768bd24abe4e1f59c5025a3dd824119ae1d;hpb=f421449422a9107e857d90d306907084dad236fb diff --git a/yportenv_multi.h b/yportenv_multi.h index a74d398..8975af3 100644 --- a/yportenv_multi.h +++ b/yportenv_multi.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -73,6 +73,9 @@ ({ int x = __builtin_choose_expr(assertion, 0, (void)0); (void) x; }) +#define yaffs_printf(msk, fmt, ...) \ + printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__) + #define yaffs_trace(msk, fmt, ...) do { \ if (yaffs_trace_mask & (msk)) \ printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__); \