Merge "Require CONFIG_VMAP_STACK on arches that support it"
diff --git a/android-5.10/android-base-conditional.xml b/android-5.10/android-base-conditional.xml
index 04ac88d..9d1e9d8 100644
--- a/android-5.10/android-base-conditional.xml
+++ b/android-5.10/android-base-conditional.xml
@@ -202,3 +202,17 @@
<value type="bool">y</value>
</config>
</group>
+
+<!-- CONFIG_VMAP_STACK requirement -->
+<group>
+ <conditions>
+ <config>
+ <key>CONFIG_HAVE_ARCH_VMAP_STACK</key>
+ <value type="bool">y</value>
+ </config>
+ </conditions>
+ <config>
+ <key>CONFIG_VMAP_STACK</key>
+ <value type="bool">y</value>
+ </config>
+</group>
diff --git a/android-5.15/android-base-conditional.xml b/android-5.15/android-base-conditional.xml
index db92b0a..08c572b 100644
--- a/android-5.15/android-base-conditional.xml
+++ b/android-5.15/android-base-conditional.xml
@@ -210,3 +210,17 @@
<value type="bool">y</value>
</config>
</group>
+
+<!-- CONFIG_VMAP_STACK requirement -->
+<group>
+ <conditions>
+ <config>
+ <key>CONFIG_HAVE_ARCH_VMAP_STACK</key>
+ <value type="bool">y</value>
+ </config>
+ </conditions>
+ <config>
+ <key>CONFIG_VMAP_STACK</key>
+ <value type="bool">y</value>
+ </config>
+</group>