mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacmn: Define platform CACHE_LINE_SZ
Add platform CACHE_LINE_SZ so that it can be used to roundup the data structures. Change-Id: Iec45f5747956d0797411f76c2fec1368a13e7d6d CRs-Fixed: 2046852
This commit is contained in:
parent
ed4bcf8e9d
commit
86287dcf2e
2 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue