Received: by 10.192.165.156 with SMTP id m28csp711082imm; Thu, 19 Apr 2018 06:23:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx48m6BCEG2UvyWa9q5lNDCmvUfDWDZBxpDHefDM3HsT+Orr10LvZ1rb2lxqYbkfu6VwVGa1A X-Received: by 10.98.131.69 with SMTP id h66mr5825260pfe.255.1524144197893; Thu, 19 Apr 2018 06:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524144197; cv=none; d=google.com; s=arc-20160816; b=PZ6WxJ5+7uVaQLV3wOSOP+dbJby4yDHsQPHnEDYPBpH8hUPtaObFoNsjjMG8//yLSd HrfLtWkXuYCvbXlbDfjWUCUNqDNOqHnVKcUbrI3B2GrnIakeHC4Tys/1Ukx9xwu9Sodg YMd0tukljwJk8Ogw4uXoS4+1AspLdYS8Xd2QTJ9gODcGfSbiwJRlxov8bpMlll7tZ23Q qfo6e11BXbcJoEUR0NLffHxOzrD18hErm3lir7OuEUe0tOmg+Pbur2Zpmnf7j+vM98mC s/DS0Tg4h6W7txrpTLF3L6Um8Ox/wZ5IlX3Ab6vdSP3vGkU7dLfryCPEm4XYhRbDHUNk Wflw== 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:references :in-reply-to:message-id:date:subject:to:from:dkim-signature :arc-authentication-results; bh=UUTnVob748N5RCHASC7GvE9bIoPbkXz5ghkhzrm6aMk=; b=IYwWJEiuDAEwj24gMNGCkRrp/OYA+J24qh6NsgMVsQF8JKQqRHEhh8vcgvRFzSISIg KubX3Q61rmONG0rYEhQihy8ssaK2Kt8dqzE6A80vyA9DBh6Ei/5/h9XfG27l9VpR5/or 5N9FtmVgzw1ZTusGxycpbPcHwoH3icRIHcurlmqHfewCRyhT9VoBQzpmZ084yQ1l2O12 PiRTVn5wuYGW//kBo8aUBqQCg6ZszM+aWwmBPrXof2R9wPqq8akLAi5i3QBPTAl0iM8g nl5eoLsdbhqEDE+k3s1dym4EuGWNADaqsbN92bEe+QCyCTLkFTjDDAcuXYz5hYRpmhWX VvOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hxPfXqI5; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si2964871pga.543.2018.04.19.06.23.03; Thu, 19 Apr 2018 06:23:17 -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=@gmail.com header.s=20161025 header.b=hxPfXqI5; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbeDSNUG (ORCPT + 99 others); Thu, 19 Apr 2018 09:20:06 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:33846 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbeDSNUE (ORCPT ); Thu, 19 Apr 2018 09:20:04 -0400 Received: by mail-pl0-f66.google.com with SMTP id z12-v6so3245251plo.1 for ; Thu, 19 Apr 2018 06:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:in-reply-to :references; bh=UUTnVob748N5RCHASC7GvE9bIoPbkXz5ghkhzrm6aMk=; b=hxPfXqI50gBklK6d9RUGz3Xeb/9rUnEoiHCjSlRWafoKEsz6Be/wM2QXUaDK0AskKX nC/n95y9MSQivoyYYp4DnZvRAqKwS3IofWcHz2FfP2WwuJGSwSaZkzlQoeLNpPmUgEV0 MDHQFzOHPwUG1KaNA03+Rj/FTGUwqgCAZ0risyempqTq0XFlpcL9JwkdY7inImyWhj/e JGiUOoDDX4BORpYETF2vSqvCDMzLDOe+ihg8MoL3Bm8eyUlP89MkiMoXlfR8wkisaAwz Y0oZXLSSX+cqUN71+Xbgyer8xnji9buWoVnx/bbTkndE4UsnX5JEoD6fWl8mVekRQR+Q Tvrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=UUTnVob748N5RCHASC7GvE9bIoPbkXz5ghkhzrm6aMk=; b=ULizBaQdjo1zqBUngQhww62lBMPZyI3cxlqhfzAoK9/ZjKOa8WIDlDOKwdWGOhJLjx FI5mXA3XlwF/YkEPotdDF1We1XBEFakrKMBfq/vqwHxu7JUW5hsTiJywgyJ21jwahvFE D8+04xhIrvySWmeLtRUwEeDxUut7191vRC4CtQAvmQ5Lz3V7BhUJXt2BxCwbMQ5z4gtd Zs2c5IrQdALYCmHilochXXvNuFzv9pZvJFTAJjCO+/T56klOdys9UiDx3qaO4/VTCbaL 2vS24JiUzwN0JjRq1Z7YYYjx0Al7nFmqHOKVUBpC/yrZ1GHNKawcIQclws1AIt3WpMyP 3RPA== X-Gm-Message-State: ALQs6tDMi6EAWfsgACttrivXbUeXmgaHDAmdMbxGdEmeIAFtWB9LKzRB PUdliH1Ahlmd1ivGX+BLRFzqcg== X-Received: by 2002:a17:902:7004:: with SMTP id y4-v6mr6346453plk.3.1524144003757; Thu, 19 Apr 2018 06:20:03 -0700 (PDT) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id e87sm7863891pfd.136.2018.04.19.06.20.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 06:20:03 -0700 (PDT) From: Greentime Hu X-Google-Original-From: Greentime Hu To: linux-kernel@vger.kernel.org, arnd@arndb.de, greentime@andestech.com, green.hu@gmail.com, private@roeck-us.net Subject: [PATCH 2/9] nds32: Fix building error when CONFIG_FREEZE is enabled. Date: Thu, 19 Apr 2018 21:18:08 +0800 Message-Id: <78202670b77fa27e13c82836d909c57bf1dd413d.1524143428.git.greentime@andestech.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <347705ade75b5901537034561fd67311b1260358.1524143428.git.greentime@andestech.com> References: <347705ade75b5901537034561fd67311b1260358.1524143428.git.greentime@andestech.com> In-Reply-To: <347705ade75b5901537034561fd67311b1260358.1524143428.git.greentime@andestech.com> References: <347705ade75b5901537034561fd67311b1260358.1524143428.git.greentime@andestech.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To include kernel/Kconfig.freezer to make sure the dependency between CONFIG_CGROUP_FREEZER and CONFIG_FREEZER It will cause building error when I make allmodconfig. kernel/cgroup/freezer.c: In function 'freezer_css_online': kernel/cgroup/freezer.c:116:15: error: 'system_freezing_cnt' undeclared (first use in this function) atomic_inc(&system_freezing_cnt); ^~~~~~~~~~~~~~~~~~~ kernel/cgroup/freezer.c:116:15: note: each undeclared identifier is reported only once for each function it appears in kernel/cgroup/freezer.c: In function 'freezer_css_offline': kernel/cgroup/freezer.c:137:15: error: 'system_freezing_cnt' undeclared (first use in this function) atomic_dec(&system_freezing_cnt); ^~~~~~~~~~~~~~~~~~~ kernel/cgroup/freezer.c: In function 'freezer_attach': kernel/cgroup/freezer.c:181:4: error: implicit declaration of function 'freeze_task' [-Werror=implicit-function-declaration] freeze_task(task); ^~~~~~~~~~~ kernel/cgroup/freezer.c: In function 'freezer_apply_state': kernel/cgroup/freezer.c:360:16: error: 'system_freezing_cnt' undeclared (first use in this function) atomic_inc(&system_freezing_cnt); ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Greentime Hu --- arch/nds32/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig index 98e05f997f91..b7404f2dcf5b 100644 --- a/arch/nds32/Kconfig +++ b/arch/nds32/Kconfig @@ -88,6 +88,7 @@ endmenu menu "Kernel Features" source "kernel/Kconfig.preempt" +source "kernel/Kconfig.freezer" source "mm/Kconfig" source "kernel/Kconfig.hz" endmenu -- 1.9.5