Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01882490 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

ion: Make MSM pool auto refill built-in only



When built as a module, msm_ion_heaps.ko is missing the following
generic unexported symbols:

  ERROR: "__next_zones_zonelist" [drivers/staging/android/ion/heaps/msm_ion_heaps.ko] undefined!
  ERROR: "zone_watermark_ok_safe" [drivers/staging/android/ion/heaps/msm_ion_heaps.ko] undefined!

Make ION_POOL_AUTO_REFILL depend on ION_MSM_HEAPS=y which should make
sure that the symbols are only used when the driver is built in.

Change-Id: Ic0dedbadc048743b9f92070af97ef2656e78a0ab
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 059aa413
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ config ION_DEFER_FREE_NO_SCHED_IDLE

config ION_POOL_AUTO_REFILL
	bool "Refill the ION heap pools automatically"
	depends on ION && QGKI
	depends on ION && QGKI && ION_MSM_HEAPS=y
	help
	  Choose this option to refill the ION system heap pools (non-secure)
	  automatically when the pool pages count becomes lower than a set low mark.