diff mbox

ARM: sunxi_defconfig: enable MODULE_UNLOAD

Message ID 1442816002-7821-1-git-send-email-net147@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jonathan Liu Sept. 21, 2015, 6:13 a.m. UTC
Loadable module support is enabled so we should allow unloading
modules too. This also allows lsmod to show values other than "-2" in
the "Used by" column.

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 arch/arm/configs/sunxi_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Maxime Ripard Sept. 21, 2015, 7:05 a.m. UTC | #1
On Mon, Sep 21, 2015 at 04:13:22PM +1000, Jonathan Liu wrote:
> Loadable module support is enabled so we should allow unloading
> modules too. This also allows lsmod to show values other than "-2" in
> the "Used by" column.
> 
> Signed-off-by: Jonathan Liu <net147@gmail.com>

Applied, thanks!

Maxime
diff mbox

Patch

diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
index 51eea22..517df2e 100644
--- a/arch/arm/configs/sunxi_defconfig
+++ b/arch/arm/configs/sunxi_defconfig
@@ -5,6 +5,7 @@  CONFIG_CGROUPS=y
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_PERF_EVENTS=y
 CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_SMP=y
 CONFIG_NR_CPUS=8