From: Daniel Rosenberg <[email protected]> ION_POOL_CACHE_POLICY uses x86 specific commands. Only allow it to be used for x86.
Cc: Android Kernel Team <[email protected]> Cc: Greg KH <[email protected]> Cc: Laura Abbott <[email protected]> Cc: Sumit Semwal <[email protected]> Signed-off-by: Daniel Rosenberg <[email protected]> Signed-off-by: John Stultz <[email protected]> --- drivers/staging/android/ion/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig index a15ff29..e2ee3c3 100644 --- a/drivers/staging/android/ion/Kconfig +++ b/drivers/staging/android/ion/Kconfig @@ -43,7 +43,7 @@ source "drivers/staging/android/ion/hisilicon/Kconfig" config ION_POOL_CACHE_POLICY bool "Ion set page pool cache policy" - depends on ION + depends on ION && X86 default y if X86 help Choose this option if need to explicity set cache policy of the -- 1.9.1

