staging: ion: Add X86 dependency for ION_POOL_CACHE_POLICY
authorDaniel Rosenberg <drosen@google.com>
Thu, 1 Oct 2015 03:44:16 +0000 (20:44 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:58 +0000 (13:53 -0800)
ION_POOL_CACHE_POLICY uses x86 specific commands.
Only allow it to be used for x86.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: Ic66e175fa41486b0b5f77872f2193add77cbe66f
(cherry picked from commit 43f4056cbec017c4414d74b032e9c14e009eabb0)

drivers/staging/android/ion/Kconfig

index 301948cc48bd5f77b90da54b2b46af98d7453884..356e109692728dcc269173e10290b90721f41ef9 100644 (file)
@@ -35,7 +35,7 @@ config ION_TEGRA
 
 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