diff options
Diffstat (limited to 'ext4_common.h')
-rw-r--r-- | ext4_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext4_common.h b/ext4_common.h index 145b0da..238ff63 100644 --- a/ext4_common.h +++ b/ext4_common.h @@ -42,6 +42,12 @@ #define ARCH_DMA_MINALIGN 64 /* should be ok for all architectures */ +#ifdef DEBUG_PRINTF +#define dbg_printf printf +#else +#define dbg_printf(s, ...) +#endif + static inline void *zalloc(size_t size) { void *p = memalign(ARCH_DMA_MINALIGN, size); |