浏览代码

qcacld-3.0: Disable QDF_LOCK_STATS_BUG_ON on SDXPRAIRIE platform

As single CPU and low frequency platform, the held time of spin lock
easily exceed the max time allowed when system taking heavy payload.
then crash occur. To address this, Disable QDF_LOCK_STATS_BUG_ON on
SDXPRAIRIE platform.

Change-Id: I156a003b361f3653591102de1cde9b131c467968
CRs-Fixed: 2456386
Lihua Liu 5 年之前
父节点
当前提交
e98a13599a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Kbuild

+ 2 - 0
Kbuild

@@ -2749,7 +2749,9 @@ endif
 ifdef CONFIG_LOCK_STATS_ON
 ccflags-y += -DQDF_LOCK_STATS=1
 ccflags-y += -DQDF_LOCK_STATS_DESTROY_PRINT=0
+ifneq ($(CONFIG_ARCH_SDXPRAIRIE), y)
 ccflags-y += -DQDF_LOCK_STATS_BUG_ON=1
+endif
 ccflags-y += -DQDF_LOCK_STATS_LIST=1
 ccflags-y += -DQDF_LOCK_STATS_LIST_SIZE=256
 endif