summaryrefslogtreecommitdiff
path: root/ext4_common.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-10-30 15:38:10 +0800
committerIru Cai <mytbk920423@gmail.com>2019-10-30 15:41:07 +0800
commit08dd4564b1f5c3258caf6bfc4bdc77ead1b042d6 (patch)
tree8c22427201972800453e6da9b8175e2bf730dc40 /ext4_common.h
parent1de6c9a59765f804ba40ac69fb12220e43734115 (diff)
downloaduext4-08dd4564b1f5c3258caf6bfc4bdc77ead1b042d6.tar.xz
fix ARCH_DMA_MINALIGN mess
Diffstat (limited to 'ext4_common.h')
-rw-r--r--ext4_common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext4_common.h b/ext4_common.h
index 238ff63..a3ac298 100644
--- a/ext4_common.h
+++ b/ext4_common.h
@@ -24,6 +24,7 @@
#include <ext4fs.h>
#include <malloc.h>
#include <linux/errno.h>
+#include <asm/cache.h>
#if defined(CONFIG_EXT4_WRITE)
#include "ext4_journal.h"
#include "crc16.h"
@@ -40,8 +41,6 @@
#define SUPERBLOCK_SIZE 1024
#define F_FILE 1
-#define ARCH_DMA_MINALIGN 64 /* should be ok for all architectures */
-
#ifdef DEBUG_PRINTF
#define dbg_printf printf
#else