浏览代码

Hexagon: set ARCH_DMA_MINALIGN

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Richard Kuo 11 年之前
父节点
当前提交
ea0f1b9215
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      arch/hexagon/include/asm/cache.h

+ 3 - 1
arch/hexagon/include/asm/cache.h

@@ -1,7 +1,7 @@
 /*
  * Cache definitions for the Hexagon architecture
  *
- * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2010-2011,2014 The Linux Foundation. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
@@ -25,6 +25,8 @@
 #define L1_CACHE_SHIFT		(5)
 #define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
 
+#define ARCH_DMA_MINALIGN	L1_CACHE_BYTES
+
 #define __cacheline_aligned	__aligned(L1_CACHE_BYTES)
 #define ____cacheline_aligned	__aligned(L1_CACHE_BYTES)