X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yportenv_multi.h;h=8975af331ea12230ab0b8db9dcf2a2092e9c2e31;hb=6af811eebaf8da9dbb58be70fbb283ecd95f8a32;hp=a74d3980657e7c1eaa8df5da738182dadaa35465;hpb=f421449422a9107e857d90d306907084dad236fb;p=yaffs2.git 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__); \