[OpenWrt-Devel] [PATCH 06/10] kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM

Hauke Mehrtens hauke at hauke-m.de
Fri May 3 16:52:03 EDT 2019


This is deactivated by default and should be manually activated in the
OpenWrt kernel configuration

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/layerscape/armv7/config-4.14     | 2 --
 target/linux/layerscape/armv8_32b/config-4.14 | 2 --
 target/linux/layerscape/armv8_64b/config-4.14 | 1 -
 target/linux/samsung/s5pv210/config-4.14      | 1 -
 4 files changed, 6 deletions(-)

diff --git a/target/linux/layerscape/armv7/config-4.14 b/target/linux/layerscape/armv7/config-4.14
index b2573eb321..0880436a20 100755
--- a/target/linux/layerscape/armv7/config-4.14
+++ b/target/linux/layerscape/armv7/config-4.14
@@ -205,8 +205,6 @@ CONFIG_DETECT_HUNG_TASK=y
 # CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND is not set
 # CONFIG_DEVFREQ_GOV_USERSPACE is not set
 # CONFIG_DEVFREQ_THERMAL is not set
-CONFIG_DEVKMEM=y
-CONFIG_DEVMEM=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_DMADEVICES=y
diff --git a/target/linux/layerscape/armv8_32b/config-4.14 b/target/linux/layerscape/armv8_32b/config-4.14
index a7b82fb5b8..437081a3a8 100644
--- a/target/linux/layerscape/armv8_32b/config-4.14
+++ b/target/linux/layerscape/armv8_32b/config-4.14
@@ -218,8 +218,6 @@ CONFIG_DEFAULT_CFQ=y
 CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
 CONFIG_DEFAULT_IOSCHED="cfq"
 CONFIG_DETECT_HUNG_TASK=y
-CONFIG_DEVKMEM=y
-CONFIG_DEVMEM=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_DMADEVICES=y
diff --git a/target/linux/layerscape/armv8_64b/config-4.14 b/target/linux/layerscape/armv8_64b/config-4.14
index 585cad6cc0..739ca731f9 100644
--- a/target/linux/layerscape/armv8_64b/config-4.14
+++ b/target/linux/layerscape/armv8_64b/config-4.14
@@ -215,7 +215,6 @@ CONFIG_DEFAULT_CFQ=y
 CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
 CONFIG_DEFAULT_IOSCHED="cfq"
 CONFIG_DETECT_HUNG_TASK=y
-CONFIG_DEVMEM=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_DMADEVICES=y
diff --git a/target/linux/samsung/s5pv210/config-4.14 b/target/linux/samsung/s5pv210/config-4.14
index b72fce16f0..548b198715 100644
--- a/target/linux/samsung/s5pv210/config-4.14
+++ b/target/linux/samsung/s5pv210/config-4.14
@@ -117,7 +117,6 @@ CONFIG_DECOMPRESS_LZO=y
 CONFIG_DECOMPRESS_XZ=y
 CONFIG_DEFAULT_IOSCHED="noop"
 CONFIG_DEFAULT_NOOP=y
-CONFIG_DEVMEM=y
 CONFIG_DM9000=y
 # CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
 CONFIG_DNOTIFY=y
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list