| 1 |
From 67abb14dc0f5d4c9991ef6377a7b1871336cbe43 Mon Sep 17 00:00:00 2001 |
| 2 |
Message-Id: <67abb14dc0f5d4c9991ef6377a7b1871336cbe43.1676535977.git.osandov@osandov.com> |
| 3 |
From: Omar Sandoval <[email protected]> |
| 4 |
Date: Wed, 15 Feb 2023 14:54:17 -0800 |
| 5 |
Subject: [PATCH] proc/kcore: allow enabling CONFIG_PROC_KCORE on ARM |
| 6 |
|
| 7 |
CONFIG_PROC_KCORE cannot be enabled on ARM since ancient history (Linux |
| 8 |
2.6.0). See commits 5a8f43aee2ce ("[PATCH] Make /proc/kcore |
| 9 |
configurable") [1] and 72d717bfd9a9 ("[PATCH] Make modules work on ARM") |
| 10 |
[2] from the Linux kernel history tree and the patch submission for the |
| 11 |
latter [3]. However, the reasoning for it being disabled is probably no |
| 12 |
longer relevant. |
| 13 |
|
| 14 |
1: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=5a8f43aee2cee75d7607c257369ab9b864795cc4 |
| 15 |
2: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=72d717bfd9a9e1170be2cf989ed322f85dcfe68f |
| 16 |
3: https://lwn.net/Articles/45316/ |
| 17 |
|
| 18 |
Signed-off-by: Omar Sandoval <[email protected]> |
| 19 |
--- |
| 20 |
fs/proc/Kconfig | 2 +- |
| 21 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 22 |
|
| 23 |
diff --git a/fs/proc/Kconfig b/fs/proc/Kconfig |
| 24 |
index 32b1116ae137c..12b9348b0143e 100644 |
| 25 |
--- a/fs/proc/Kconfig |
| 26 |
+++ b/fs/proc/Kconfig |
| 27 |
@@ -32,3 +32,3 @@ config PROC_FS |
| 28 |
config PROC_KCORE |
| 29 |
- bool "/proc/kcore support" if !ARM |
| 30 |
+ bool "/proc/kcore support" |
| 31 |
depends on PROC_FS && MMU |
| 32 |
-- |
| 33 |
2.30.2 |
| 34 |
|