lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191121014156.25618-1-liulichao@loongson.cn>
Date:   Thu, 21 Nov 2019 09:41:56 +0800
From:   Lichao Liu <liulichao@...ngson.cn>
To:     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>,
        Lichao Liu <liulichao@...ngson.cn>, linux-mips@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH] Use the macro CONFIG_I8259 to control whether to include the asm/i8259.h header file.

Not all platform config CONFIG_I8259, So Use the macro CONFIG_I8259
to control whether to include the asm/i8259.h header file.

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>
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ