]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.9.128/arc-enable-swap.patch
fix up queue-5.15/mm-fix-race-between-__split_huge_pmd_locked-and-gup-.patch
[thirdparty/kernel/stable-queue.git] / releases / 4.9.128 / arc-enable-swap.patch
CommitLineData
13e8e92f
GKH
1From c83532fb0fe053d2e43e9387354cb1b52ba26427 Mon Sep 17 00:00:00 2001
2From: Alexey Brodkin <abrodkin@synopsys.com>
3Date: Thu, 2 Aug 2018 11:50:16 +0300
4Subject: ARC: [plat-axs*]: Enable SWAP
5
6From: Alexey Brodkin <abrodkin@synopsys.com>
7
8commit c83532fb0fe053d2e43e9387354cb1b52ba26427 upstream.
9
10SWAP support on ARC was fixed earlier by
11commit 6e3761145a9b ("ARC: Fix CONFIG_SWAP")
12so now we may safely enable it on platforms that
13have external media like USB and SD-card.
14
15Note: it was already allowed for HSDK
16
17Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
18Cc: stable@vger.kernel.org # 6e3761145a9b: ARC: Fix CONFIG_SWAP
19Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
20Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21
22---
23 arch/arc/configs/axs101_defconfig | 1 -
24 arch/arc/configs/axs103_defconfig | 1 -
25 arch/arc/configs/axs103_smp_defconfig | 1 -
26 3 files changed, 3 deletions(-)
27
28--- a/arch/arc/configs/axs101_defconfig
29+++ b/arch/arc/configs/axs101_defconfig
30@@ -1,5 +1,4 @@
31 CONFIG_DEFAULT_HOSTNAME="ARCLinux"
32-# CONFIG_SWAP is not set
33 CONFIG_SYSVIPC=y
34 CONFIG_POSIX_MQUEUE=y
35 # CONFIG_CROSS_MEMORY_ATTACH is not set
36--- a/arch/arc/configs/axs103_defconfig
37+++ b/arch/arc/configs/axs103_defconfig
38@@ -1,5 +1,4 @@
39 CONFIG_DEFAULT_HOSTNAME="ARCLinux"
40-# CONFIG_SWAP is not set
41 CONFIG_SYSVIPC=y
42 CONFIG_POSIX_MQUEUE=y
43 # CONFIG_CROSS_MEMORY_ATTACH is not set
44--- a/arch/arc/configs/axs103_smp_defconfig
45+++ b/arch/arc/configs/axs103_smp_defconfig
46@@ -1,5 +1,4 @@
47 CONFIG_DEFAULT_HOSTNAME="ARCLinux"
48-# CONFIG_SWAP is not set
49 CONFIG_SYSVIPC=y
50 CONFIG_POSIX_MQUEUE=y
51 # CONFIG_CROSS_MEMORY_ATTACH is not set