Received: by 10.213.65.68 with SMTP id h4csp243651imn; Fri, 16 Mar 2018 01:29:02 -0700 (PDT) X-Google-Smtp-Source: AG47ELvxYyLeUECmmazP5ZZFwmZQAsqRvEMJQUKegLa0kt8dwVil3RkCArl/sif76Z7Xdwp+pADW X-Received: by 2002:a17:902:5501:: with SMTP id f1-v6mr1176234pli.50.1521188942330; Fri, 16 Mar 2018 01:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521188942; cv=none; d=google.com; s=arc-20160816; b=KReE9tZUI0w0Rk2U4mfrjjm0AsxuEQ4JUqTvIyZwAXyP5yhhFVtlo1IEq0Y/zTkf5h ot6uOsb7RH+Jh/ZovZL85D+lA8OQSQn4+Xvxuc5zzJG/1wwqXlQVbqGIj7VplYW3tPf4 qWsAbkcTkXXrGSxX59f7TMwxYVMRDs7Oup1Zeh9yhBFddHR+muRe444aFavL1wzJfs94 MHG2jzUXjZrXL46kEcI3tB8eqVijui8pEg7q80Y3SUjyQZUMfVJEpsOCOvWpsjEMN5cV fxz83rcdTqSpl88MU31XOi50M1Y7GWcgeboVuOyUljTVHuo6TvKu6JwWDpMCJaOzqUue JhXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=P1v/0f69QFg6pbRE4gkW/xIAsSP9KVfOYuFLdEv6JaY=; b=tpE0G1OxIAvjiP+8isRUlK0eAdRksOZmGnVfp6BuSozeI6uA2USO4tV9XULiSxJQcf wb7pJRSttC+hn/1+G2to6jLfBo7i64xYzTcd82yB2FJmLzuMFw2dV9Xrt/Kpda7h3I91 8vKvDKoJYX0W4sLjYprpgVn/oZEu5lSVeqxuu86c0+kYUUmQimgMUKAOXsh8JE5XkGk8 zHPVkJZCNnQugBQQHSKJ2ApwO1vN0LmdoS35V28DQ6UbuKvrpkyncjyBaZXiMW4ptB/a x8/K7YPnjvmXPREGwciicbG3BRx+qr9sg6/Nr2PF+LjHdIsHw9BC+oB9lPzP4B0AvVqS PXhA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x10si5190526pfd.188.2018.03.16.01.28.48; Fri, 16 Mar 2018 01:29:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753230AbeCPI16 (ORCPT + 99 others); Fri, 16 Mar 2018 04:27:58 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:7888 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752538AbeCPI14 (ORCPT ); Fri, 16 Mar 2018 04:27:56 -0400 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="37877562" Received: from bogon (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 16 Mar 2018 16:27:54 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id 2DA7E4D0EFFC; Fri, 16 Mar 2018 16:27:53 +0800 (CST) Received: from localhost.localdomain (10.167.226.106) by G08CNEXCHPEKD02.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 16 Mar 2018 16:27:53 +0800 Subject: Re: [PATCH] kernel/cpu: Move cpuhp_is_atomic_state() into #ifdef CONFIG_SMP To: Thomas Gleixner CC: , , , , References: <20180316063852.22701-1-douly.fnst@cn.fujitsu.com> From: Dou Liyang Message-ID: Date: Fri, 16 Mar 2018 16:27:49 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="gbk"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: 2DA7E4D0EFFC.AF932 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At 03/16/2018 03:59 PM, Thomas Gleixner wrote: > On Fri, 16 Mar 2018, Dou Liyang wrote: > >> Commit 17a2f1ced028 ("cpu/hotplug: Merge cpuhp_bp_states and cpuhp_ap_states") >> removed the last use of cpuhp_is_atomic_state() in common case, that caused >> Kernel produced a warning: >> >> 'cpuhp_is_ap_state' defined but not used >> >> So, Move it into #ifdef CONFIG_SMP > > Thanks for the patch, but a fix is already queued in the smp/hotplug > branch. It just did not make it into the for-next branch yet, > Oops, yes, let's ignore this patch. Thanks, dou > Thanks, > > tglx > > >