Received: by 10.192.165.148 with SMTP id m20csp272948imm; Fri, 20 Apr 2018 06:36:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx49F+Hglke6J2Qq7F/YMDsYJHK6WRVcuyMSQOhWWz6c+ZRZU1FAAZkwnzfuCk49WT+P3iwfL X-Received: by 10.98.61.201 with SMTP id x70mr9672201pfj.85.1524231403733; Fri, 20 Apr 2018 06:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524231403; cv=none; d=google.com; s=arc-20160816; b=BoiQWvVvw0CYF5aZOCLGTIAxsDXfk1Zc6Sms38DvftCsR90Gy42bJFQmEyPykSS95i ISc7LrXsHZQEMYa78uL0YxsCmkwru/l+u7xs6/20smhHpALGMvSKJxY02sYGdxHtB8Ui PpGi9TPZOCwaqPvI9K1KMM28OFNNzLjvUvrdyP2mOnhueXxipzd1SeVWeLVQsvSZhFs5 DUnTn5r+UZ7rHcT2q8T5UlDzMolfNLBqgPC2kXOp5QjqQ8Vs75q3o9/FdOyUEANEIq9f 7fjC0M0uxz+b/9moqrLu/35kaOo7gyjDHyrMGyn5y6SFj41ljmImJbVgZtZBXSv4l4Qc dVIw== 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=EfSEfEmi7PxgK1wseM9VI+76bnUM+oxBhc/T6Nv/FfQ=; b=iAsEALHuEfKxrV0RvsmNxn1dWx7yfguxDDGMwFgmlCIQT+JRCLGqr6hvd2HbA/cRm5 1jP/sTJU03cdQPg5tbuKvE995wCOxF0mhsm7LzFCjTex+0WNQSDvRtuAsgCtUtIF9Tbt lTavM4X5vityQ8VGjfxTeW4YxhLqqDHsuF5BEZ5OmAsMioVwY0Mq/4eLQNegChV6mzuf Q23LzZbLZq7++bqrHpdrHCODY8q/mpAthOBVbzo9/XRxu/Itm59tXHQSJICUNQwpsDX4 A2NVEFdiLhbXleYIGTi/W77uH8m62tiIlLEzuwGwz2kJfTXYaPADANoc3uV8wKM3eZV5 V78A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TUoeTvJM; 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 m13si4839089pgp.482.2018.04.20.06.36.29; Fri, 20 Apr 2018 06:36:43 -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=TUoeTvJM; 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 S1755189AbeDTNfH (ORCPT + 99 others); Fri, 20 Apr 2018 09:35:07 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:36922 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754884AbeDTNdE (ORCPT ); Fri, 20 Apr 2018 09:33:04 -0400 Received: by mail-pl0-f66.google.com with SMTP id f7-v6so5293182plr.4 for ; Fri, 20 Apr 2018 06:33: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=EfSEfEmi7PxgK1wseM9VI+76bnUM+oxBhc/T6Nv/FfQ=; b=TUoeTvJMVvMITwEJkarv4tzaefp/Y5x+Ws0h+C5oBb0YBUvLUiyvCA4W1ttR+CMH4a c6p1XNvD/uKkizw6Vi0oYSM5QPnGOBEVQo5zC14cebLEPtJKKmQikNERf07M5DlpYJmE 6+jv4en+whwtZW0IwPf/dY9rQj7eQoyqqiHdnRk76kV6Jgvh6uHS3eggeRzVQejr/FhF OQEC+hkNkjhj6OEac2zIzAuL58R0YCdhbH/gQPYnnAiLFtUp5LLzWChGqJ7ms7J6TZnN EVnEkqJsShvPPvQRqwjILgcbDm/TUFDxcS9n9bu0w0JP9NMpGBkYqOUP6CrhkiU8SW9O 9XEQ== 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=EfSEfEmi7PxgK1wseM9VI+76bnUM+oxBhc/T6Nv/FfQ=; b=tCmMaZDOgzmzkzQ4mVsr/JA4jYmHpKVuRztbHpOixf3WyjeLSnKzGaDUDIwIprApr6 5u6l2Hl0/yxrjKH9k6uequVB+bZTh0HMcX+y1g9TfjHsAdV7rN6tTiXaUdeazkj3X/Ct VWvngsbnTElK1+dgR25aDNCvCM/EbKZb9v5TLrgz7WMTBrCo6GXN321BKQ//0hv/XDIq LOkPJkIeSkxkb7rdlIxAWScoPNS0V+RDgplcyy+XZKC4N9FIBjga+n8eK9hjpC9f5AE1 wDBNjLL/MYUyr8jwD/N9C6iDaYMQnu4b0PzBEpqnE7g3Feo6CrkOarOhYmnn1Tq5FEe2 6WoQ== X-Gm-Message-State: ALQs6tAmlI8xEg9V8rOY7UFYHNFXo3bb+7BiPBa8U0UFhsURM+DTRFMU yJMD+82/sXPoIgz9yzDJlCBu2w== X-Received: by 2002:a17:902:b402:: with SMTP id x2-v6mr10042972plr.167.1524231183523; Fri, 20 Apr 2018 06:33:03 -0700 (PDT) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id g11sm9621319pgu.56.2018.04.20.06.33.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Apr 2018 06:33:02 -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, hch@infradead.org, vincentc@andestech.com, nickhu@andestech.com Subject: [PATCH v2 2/9] nds32: Fix building error when CONFIG_FREEZE is enabled. Date: Fri, 20 Apr 2018 21:31:08 +0800 Message-Id: X-Mailer: git-send-email 2.16.2 In-Reply-To: References: In-Reply-To: References: 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 Acked-by: Arnd Bergmann --- 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