Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2839308ybc; Wed, 20 Nov 2019 22:19:08 -0800 (PST) X-Google-Smtp-Source: APXvYqyDv9r2Mba7Xkk3yk0i9X+03MjRkE0ziXFX1anytyAjj7ppYule6ftLK8GYInG/Xpsk23yv X-Received: by 2002:a17:906:301a:: with SMTP id 26mr11252687ejz.201.1574317147942; Wed, 20 Nov 2019 22:19:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574317147; cv=none; d=google.com; s=arc-20160816; b=qzRFLtIGrAWRsu9ahUUEicAtfs97xZISjDiykZ3xVxB2bW64Nbgr9GvmlJnG0t7SXK Bs5Nbxl4X5iJcRpB3WgWseHUj6HNm/mQrsTWytTLQI4U4+UyFu/8RIPqK76EVYP25myr CcayLiLOHQ7jpyWyMOmDm6hrze8BKnZC4KycvynPECvZhuDkCQe/B492DXlhCuSemnnn mzG0bmjl4bGiPe0dYa7NpF1o5g2NIZKLa5AninCOEMHaC1eceRr7QHRE2TCAk0tNRXAl IpBJj52jbj2nvdqpeaF58zDJdq3hkHVBuW/boZ+570ALFydRa2MreYzQ88U9VWprjDXP sGWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=Op3BE2NZXtGbqpQuC/Bl23iPpO4DsoZfliQHQr+WNcc=; b=W2NP1RFM1BhY/vqdE1pRsBCLsVOTCIicw4xWpo9s8sw+GKzc6yJfWjrlKWrsYsYivd KjL9q0DWFdTwUxPYWIJzQ6hQ+UYHBo6SxalwG4ndbkGT4dEuXA/wFPIATrs8hJX7LFu2 z4pnfMbaRxfdiAj7D0sCU+XwVph/7sH9cXJZFmeDkb5/1J9xzy/Nu15EGOFEy0zAB8lD JbcKLxwZmjl9OJ7aBnBOKFHzQnUFWegfQdZrUsYN/y8OGcAhRRhS73AEKfQIHYocIuZO c5B8IUORkLBT22OKPxJ8pJ7kRyeg5fwpCg8jH1gVahOI3zmu8JuXIA92sCwR9rVRqfjK 2BTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=mail header.b=ElaKvH6z; 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=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e50si1490382ede.59.2019.11.20.22.18.43; Wed, 20 Nov 2019 22:19:07 -0800 (PST) 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=fail header.i=@flygoat.com header.s=mail header.b=ElaKvH6z; 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=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726310AbfKUGRp (ORCPT + 99 others); Thu, 21 Nov 2019 01:17:45 -0500 Received: from forward106j.mail.yandex.net ([5.45.198.249]:48071 "EHLO forward106j.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725842AbfKUGRo (ORCPT ); Thu, 21 Nov 2019 01:17:44 -0500 Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward106j.mail.yandex.net (Yandex) with ESMTP id D140411A121D; Thu, 21 Nov 2019 09:17:41 +0300 (MSK) Received: from mxback7q.mail.yandex.net (mxback7q.mail.yandex.net [IPv6:2a02:6b8:c0e:41:0:640:cbbf:d618]) by forward101q.mail.yandex.net (Yandex) with ESMTP id C9F7CCF40012; Thu, 21 Nov 2019 09:17:41 +0300 (MSK) Received: from vla3-2bcfd5e94671.qloud-c.yandex.net (vla3-2bcfd5e94671.qloud-c.yandex.net [2a02:6b8:c15:350f:0:640:2bcf:d5e9]) by mxback7q.mail.yandex.net (mxback/Yandex) with ESMTP id y1BCvKFzf0-HfXOf6YF; Thu, 21 Nov 2019 09:17:41 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1574317061; bh=Op3BE2NZXtGbqpQuC/Bl23iPpO4DsoZfliQHQr+WNcc=; h=From:To:Subject:CC:References:Date:In-Reply-To:Message-ID; b=ElaKvH6zLlcXAHQs6u81HnjurnY8Oa099yDiCRURVxjhMo5F9FKIKdZgUUuLNriSu DUd/q40+pe1X/6Wn+GfkyQH+TdnnbcF772ML4ZbUvqQErtneCCrAKO/NfDkzCuVgq4 UPBGNK5Gny5LTo5pllFkA2LTI4YcKpjHOv0Cdqm4= Authentication-Results: mxback7q.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by vla3-2bcfd5e94671.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id USjOoAfIPR-HdV4BlZh; Thu, 21 Nov 2019 09:17:39 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Date: Thu, 21 Nov 2019 14:17:28 +0800 User-Agent: K-9 Mail for Android In-Reply-To: <20191121014156.25618-1-liulichao@loongson.cn> References: <20191121014156.25618-1-liulichao@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] Use the macro CONFIG_I8259 to control whether to include the asm/i8259.h header file. To: Lichao Liu , Huacai Chen CC: Ralf Baechle , Paul Burton , James Hogan , Marc Dionne , David Howells , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org From: Jiaxun Yang Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =E4=BA=8E 2019=E5=B9=B411=E6=9C=8821=E6=97=A5 GMT+08:00 =E4=B8=8A=E5=8D=88= 9:41:56, Lichao Liu =E5=86=99=E5=88=B0: >Not all platform config CONFIG_I8259, So Use the macro CONFIG_I8259 >to control whether to include the asm/i8259=2Eh header file=2E You should have a dedicated short patch tittle=2E=20 Like MIPS: Loongson64: Limit i8259 include by config > >Signed-off-by: Lichao Liu >--- > arch/mips/loongson64/common/pm=2Ec | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/arch/mips/loongson64/common/pm=2Ec >b/arch/mips/loongson64/common/pm=2Ec >index b8aed878d=2E=2Ebc619e4d0 100644 >--- a/arch/mips/loongson64/common/pm=2Ec >+++ b/arch/mips/loongson64/common/pm=2Ec >@@ -9,7 +9,9 @@ > #include > #include >=20 >+#ifdef CONFIG_I8259 > #include >+#endif > #include >=20 > #include --=20 Jiaxun Yang