]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Hexagon: set ARCH_DMA_MINALIGN
authorRichard Kuo <rkuo@codeaurora.org>
Tue, 15 Apr 2014 20:41:17 +0000 (15:41 -0500)
committerRichard Kuo <rkuo@codeaurora.org>
Tue, 16 Dec 2014 19:27:30 +0000 (13:27 -0600)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/asm/cache.h

index 263511719a4ade5b6d81a563c92d3a5d368c2bb7..69952c18420708f4f5328021c7988aa1f285ed64 100644 (file)
@@ -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)