Add platform CACHE_LINE_SZ so that it can be used to roundup the data structures. Change-Id: Iec45f5747956d0797411f76c2fec1368a13e7d6d CRs-Fixed: 2046852
@@ -37,6 +37,8 @@
#include <qdf_types.h>
#include <i_qdf_mem.h>
+#define QDF_CACHE_LINE_SZ __qdf_cache_line_sz
+
/**
* qdf_align() - align to the given size.
* @a: input that needs to be aligned.
@@ -45,6 +45,9 @@
#include <linux/hardirq.h>
#include <linux/vmalloc.h>
#include <linux/pci.h> /* pci_alloc_consistent */
+#include <linux/cache.h> /* L1_CACHE_BYTES */
+#define __qdf_cache_line_sz L1_CACHE_BYTES
#if CONFIG_MCL
#include <cds_queue.h>
#else