From e7a9db04aa9f7fcdbada65054960b7ddf4b60d7b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 28 Jul 2024 16:35:33 +0200 Subject: [PATCH] linux-samsung-jxelte: enable CONFIG_SWAP (MR 5391) Fix for: CONFIG_SWAP should be set (category:zram) --- device/testing/linux-samsung-jxelte/APKBUILD | 4 ++-- .../linux-samsung-jxelte/config-samsung-jxelte.aarch64 | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/device/testing/linux-samsung-jxelte/APKBUILD b/device/testing/linux-samsung-jxelte/APKBUILD index 67d219825..61e92d9d8 100644 --- a/device/testing/linux-samsung-jxelte/APKBUILD +++ b/device/testing/linux-samsung-jxelte/APKBUILD @@ -3,7 +3,7 @@ pkgname=linux-samsung-jxelte pkgver=3.18.14 -pkgrel=5 +pkgrel=6 pkgdesc="Samsung Galaxy J7(2016) kernel fork" arch="aarch64" _carch="arm64" @@ -68,7 +68,7 @@ package() { sha512sums=" e6602a988b66a632114b431743a170fca15f069f3eb5f743d2859bf9d0de020faaeabbf3a9b574a2f3b1167efb04a42c7d818ecff2e730d268d24966e73b16c4 linux-samsung-jxelte-6a08243a47caf497bf07d34baacbf7e822344b24.tar.gz -25ec755b4e24c2f534f9420ba2778c4a26ff346e41a46a5b0e242a8c2eac739b2dc3baa9c9fd7b08a3accb178e28fd0be53862bafc2155802d6fb4e3df71a4b7 config-samsung-jxelte.aarch64 +bb4602115d838abf7b1c2f442e33eb76569e30e1dcf9031a054cd56c599460029ccec8d6406ac01175cacde8f89a1ca1f601864ea7c09f151151b9058530e3d9 config-samsung-jxelte.aarch64 2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch diff --git a/device/testing/linux-samsung-jxelte/config-samsung-jxelte.aarch64 b/device/testing/linux-samsung-jxelte/config-samsung-jxelte.aarch64 index b2d7c0f32..28bfa0ee7 100644 --- a/device/testing/linux-samsung-jxelte/config-samsung-jxelte.aarch64 +++ b/device/testing/linux-samsung-jxelte/config-samsung-jxelte.aarch64 @@ -39,7 +39,7 @@ CONFIG_CROSS_COMPILE="" CONFIG_LOCALVERSION="-" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_DEFAULT_HOSTNAME="pmos" -# CONFIG_SWAP is not set +CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_POSIX_MQUEUE is not set @@ -364,6 +364,7 @@ CONFIG_BOUNCE=y CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 # CONFIG_TRANSPARENT_HUGEPAGE is not set # CONFIG_CLEANCACHE is not set +# CONFIG_FRONTSWAP is not set CONFIG_CMA=y # CONFIG_CMA_DEBUG is not set CONFIG_CMA_PINPAGE_MIGRATION=y @@ -374,6 +375,7 @@ CONFIG_ZSMALLOC=y CONFIG_PGTABLE_MAPPING=y CONFIG_ZSMALLOC_STAT=y # CONFIG_ZSMALLOC_OBJ_SEQ is not set +CONFIG_SWAP_ENABLE_READAHEAD=y CONFIG_GENERIC_EARLY_IOREMAP=y CONFIG_SECCOMP=y # CONFIG_XEN is not set