[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <E3B6A677-013F-4431-B29C-8C069931C84C@flygoat.com>
Date: Thu, 21 Nov 2019 14:17:28 +0800
From: Jiaxun Yang <jiaxun.yang@...goat.com>
To: Lichao Liu <liulichao@...ngson.cn>, Huacai Chen <chenhc@...ote.com>
CC: Ralf Baechle <ralf@...ux-mips.org>,
Paul Burton <paulburton@...nel.org>,
James Hogan <jhogan@...nel.org>,
Marc Dionne <marc.dionne@...istor.com>,
David Howells <dhowells@...hat.com>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Use the macro CONFIG_I8259 to control whether to include the asm/i8259.h header file.
于 2019年11月21日 GMT+08:00 上午9:41:56, Lichao Liu <liulichao@...ngson.cn> 写到:
>Not all platform config CONFIG_I8259, So Use the macro CONFIG_I8259
>to control whether to include the asm/i8259.h header file.
You should have a dedicated short patch tittle.
Like MIPS: Loongson64: Limit i8259 include by config
>
>Signed-off-by: Lichao Liu <liulichao@...ngson.cn>
>---
> arch/mips/loongson64/common/pm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/arch/mips/loongson64/common/pm.c
>b/arch/mips/loongson64/common/pm.c
>index b8aed878d..bc619e4d0 100644
>--- a/arch/mips/loongson64/common/pm.c
>+++ b/arch/mips/loongson64/common/pm.c
>@@ -9,7 +9,9 @@
> #include <linux/interrupt.h>
> #include <linux/pm.h>
>
>+#ifdef CONFIG_I8259
> #include <asm/i8259.h>
>+#endif
> #include <asm/mipsregs.h>
>
> #include <loongson.h>
--
Jiaxun Yang
Powered by blists - more mailing lists