From patchwork Mon Sep 21 06:13:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Liu X-Patchwork-Id: 7227831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 96C7FBEEC1 for ; Mon, 21 Sep 2015 06:16:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B77FF20760 for ; Mon, 21 Sep 2015 06:16:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E8C202075A for ; Mon, 21 Sep 2015 06:16:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZduMA-00062B-G9; Mon, 21 Sep 2015 06:13:42 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZduM7-0005wt-HB for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2015 06:13:39 +0000 Received: by padhy16 with SMTP id hy16so107225754pad.1 for ; Sun, 20 Sep 2015 23:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=AZIWagmI5vbDE9mTv/B5tMDe7Z+89AhYf7PS3Gv31SI=; b=d+7E0GpUeuK7rjkzZ4uWNliHJGaAoQKpJmH+Eg9YZ/MokmOlCC+/XIH56Qz5iboRsY lRcjqHhgj0C9whN7lR73Ij1IJny7X4dIDZjxWS4TjaVuMsUyD6A3qGGsRqZYMsBnOiip cuiZpWUtvV5u4AlZHEgEQAejm5lIXJl7wMKQaPO8kLkSm+mY3umr80PIJXKaaVm8uVyl DUTnSY9WUkz70pZmkqY0MXqqkom8tBEPIUn2lebzkbxkwXxbu7n9NxN3pfSliynXGv9c o3qBcB+CuZJK0mLiDV2RVEH0WPvko7Y+TL8HBNn5iwGtSRXqkDY5tTp+mJ0d4eNuSsui Kr6Q== X-Received: by 10.68.184.195 with SMTP id ew3mr2054275pbc.28.1442815997545; Sun, 20 Sep 2015 23:13:17 -0700 (PDT) Received: from 60-242-179-244.static.tpgi.com.au (60-242-179-244.static.tpgi.com.au. [60.242.179.244]) by smtp.gmail.com with ESMTPSA id fu4sm22134922pbb.59.2015.09.20.23.13.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Sep 2015 23:13:16 -0700 (PDT) From: Jonathan Liu To: Maxime Ripard Subject: [PATCH] ARM: sunxi_defconfig: enable MODULE_UNLOAD Date: Mon, 21 Sep 2015 16:13:22 +1000 Message-Id: <1442816002-7821-1-git-send-email-net147@gmail.com> X-Mailer: git-send-email 2.5.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150920_231339_697388_6328237C X-CRM114-Status: GOOD ( 10.18 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-sunxi@googlegroups.com, Jonathan Liu , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) 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