Mercurial > yaffs-ecoscentric
comparison packages/fs/yaffs/current/src/yportenv.h @ 334:1c56b1df53d8
Merge from upstream
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Tue, 03 Nov 2009 17:35:15 +0000 |
| parents | yportenv.h@795055444bcb yportenv.h@a097a8d2aa15 |
| children |
comparison
equal
deleted
inserted
replaced
| 325:8e1210f7946a | 334:1c56b1df53d8 |
|---|---|
| 94 #define TSTR(x) KERN_WARNING x | 94 #define TSTR(x) KERN_WARNING x |
| 95 #define TCONT(x) x | 95 #define TCONT(x) x |
| 96 #define TOUT(p) printk p | 96 #define TOUT(p) printk p |
| 97 | 97 |
| 98 #define yaffs_trace(mask, fmt, args...) \ | 98 #define yaffs_trace(mask, fmt, args...) \ |
| 99 do { if ((mask) & (yaffs_traceMask|YAFFS_TRACE_ERROR)) \ | 99 do { if ((mask) & (yaffs_traceMask| YAFFS_TRACE_ALWAYS)) \ |
| 100 printk(KERN_WARNING "yaffs: " fmt, ## args); \ | 100 printk(KERN_WARNING "yaffs: " fmt, ## args); \ |
| 101 } while (0) | 101 } while (0) |
| 102 | 102 |
| 103 #define compile_time_assertion(assertion) \ | 103 #define compile_time_assertion(assertion) \ |
| 104 ({ int x = __builtin_choose_expr(assertion, 0, (void)0); (void) x; }) | 104 ({ int x = __builtin_choose_expr(assertion, 0, (void)0); (void) x; }) |
