From patchwork Thu Jun 8 12:39:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103381 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2418770qgd; Thu, 8 Jun 2017 05:41:08 -0700 (PDT) X-Received: by 10.84.224.76 with SMTP id a12mr33894416plt.25.1496925668601; Thu, 08 Jun 2017 05:41:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496925668; cv=none; d=google.com; s=arc-20160816; b=k8CE4mxKG96SZBlO4i2mFsvSUvCy7hZ/uEfUTpdi5b/jaiLKnqYNohNKK/y3WcjJDq /s4vDC58PbEXFlVjd8L2+I6c3nuPNy6PfO4Rqh4rvW7xucwTqkQ0bwmLUtIAPYgG+Urk VdpYlA8TMMUWG8TsVnK3YKP9Egt9J/DBOqQwZp1tOwWGZ0E5kM0fl6+pnP7hXoB3DBRO Utue3CRTAXkT/3hLas2okbIeY8KLbBL/B8lDg23OjHmlC/HY6a+ZupN/XiQx+noSMpL5 1JqRDEiIygMoFolRyRo2ZrddGaJ/eroBVw2hh7J0nQgU5l2RXQdi2hqitOE3yTd65B3H MY2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=NQ7efEbDWPlAABTd37kwYhz5DA11wSahvMquDIJzLVY=; b=cY7N09MsS2DjjFlwVHNS2fHfYgBnb8bmTDzD6MT6xBiAhgGYjYXtac9+Lr7WFmsZMx p05U0AD4MnPVsKgofPGeXWmgc63o+4ysQgxagYcg8ePGNFzq8UbDsWpgRiLpKq+vRLJd ltOqS5eGHFUXK7WgNj/0PQEeW9Q4DZXqw/eqxklaD/o0zv82nRkp7CcQEZ2BlDLJo32S depm+Kx5D+fC2jVxVfDoJRibhC7aF/2r9hn/frRrzKI7ZmElAyVUyWOHVUm4sDGdZWIf 9dISlp3WUw33vK21F0QvYekDkmJzmtQvkLRVsMdo96Pcpc0VSb5puINNKDjDZgGqiY5X 9bFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si4318066pfb.310.2017.06.08.05.41.08; Thu, 08 Jun 2017 05:41:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751717AbdFHMkA (ORCPT + 25 others); Thu, 8 Jun 2017 08:40:00 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:33193 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751697AbdFHMj6 (ORCPT ); Thu, 8 Jun 2017 08:39:58 -0400 Received: by mail-pf0-f182.google.com with SMTP id 83so16849777pfr.0 for ; Thu, 08 Jun 2017 05:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NQ7efEbDWPlAABTd37kwYhz5DA11wSahvMquDIJzLVY=; b=j2XllJXxGZhscM1aRrSLZxKuSEGXLKEvwAejYpP9AeV3O6Yhl0aWb+2ezIM50ykXn5 0IDiKynefrz2CVq0r78//Wc4SKw2ELhVmTBHNC1j2PAoYwPHZ7d9JqRkqk4g6vcMUmRZ vqotm7mFbbVnCwrYybNDSll/YDmMwnaCsTH84= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NQ7efEbDWPlAABTd37kwYhz5DA11wSahvMquDIJzLVY=; b=EUdABO01SudCCnD4FDOkOnAaZa3kiepiwQfh1bmS9UQ2GbeBZya7lihfyKZXHtxYo5 LGNrdfsNB4wxtfUeUMlZnF3O6hMFK8feAlZM9BpH4k5cXkFPEj32oYOrpkPfWBbuDF1l bBq+U2IrnpGRk9d8F5GSgHmsXplbe/vhKSqSvFPa1SNMgaStGGBfSLlH3/JFDbgRNsh6 pyhLfoKDLTkZuVuFYcacGhWjvkWkCjywYaG8ybePXt/3xtV9tOQQy4mpkp7oYPwMoWUU 8I+2dmIOhXCLPz3cGEFF+PgZHm55CH4e5F1TER8fcwNYuGvoXv6Fl85jiKX37+efxAJ7 V3Mg== X-Gm-Message-State: AODbwcBAONdNcvLiFlsAaP2ZSERTCYNcBcjLQuGrXHvSjTZeLV0k36N0 XwvsUxP1Q8YGzlpJ X-Received: by 10.99.96.81 with SMTP id u78mr31397819pgb.101.1496925593063; Thu, 08 Jun 2017 05:39:53 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id b129sm9114528pfg.102.2017.06.08.05.39.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 05:39:52 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH , John Stultz Cc: lkml , Android Kernel Team , Greg Kroah-Hartman Subject: [PATCH v2 6/8] config: android-base: add CONFIG_MODULES option Date: Thu, 8 Jun 2017 18:09:14 +0530 Message-Id: <1496925556-19417-7-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496925556-19417-1-git-send-email-amit.pundir@linaro.org> References: <1496925556-19417-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman This adds CONFIG_MODULES, CONFIG_MODULE_UNLOAD, and CONFIG_MODVERSIONS which are required by the O release. Reviewed-at: https://android-review.googlesource.com/#/c/364554/ Signed-off-by: Greg Kroah-Hartman [AmitP: cherry-picked this change from Android common kernel] Signed-off-by: Amit Pundir --- kernel/configs/android-base.config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/kernel/configs/android-base.config b/kernel/configs/android-base.config index e12cfec25758..62cb392fc34b 100644 --- a/kernel/configs/android-base.config +++ b/kernel/configs/android-base.config @@ -3,7 +3,6 @@ # CONFIG_DEVMEM is not set # CONFIG_FHANDLE is not set # CONFIG_INET_LRO is not set -# CONFIG_MODULES is not set # CONFIG_OABI_COMPAT is not set # CONFIG_SYSVIPC is not set # CONFIG_USELIB is not set @@ -64,6 +63,9 @@ CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_TARGET_NETMAP=y CONFIG_IP_NF_TARGET_REDIRECT=y CONFIG_IP_NF_TARGET_REJECT=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODVERSIONS=y CONFIG_NET=y CONFIG_NETDEVICES=y CONFIG_NETFILTER=y