linux_dsm_epyc7002/arch
Arnd Bergmann 704ae091b0 x86/mce: Add notifier_block forward declaration
Without linux/irq.h, there is no declaration of notifier_block, leading to
a build warning:

In file included from arch/x86/kernel/cpu/mcheck/threshold.c:10:
arch/x86/include/asm/mce.h:151:46: error: 'struct notifier_block' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]

It's sufficient to declare the struct tag here, which avoids pulling in
more header files.

Fixes: 447ae31667 ("x86: Don't include linux/irq.h from asm/hardirq.h")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Nicolai Stange <nstange@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20180817100156.3009043-1-arnd@arndb.de
2018-08-20 18:04:42 +02:00
..
alpha Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
arc Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
arm The new and exciting feature this time around is in the clk core. 2018-08-15 21:41:21 -07:00
arm64 SCSI misc on 20180815 2018-08-15 22:06:26 -07:00
c6x kconfig: include kernel/Kconfig.preempt from init/Kconfig 2018-08-02 08:06:54 +09:00
h8300 Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
hexagon Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
ia64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
m68k Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
microblaze kconfig: include kernel/Kconfig.preempt from init/Kconfig 2018-08-02 08:06:54 +09:00
mips Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-15 16:01:47 -07:00
nds32 Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
nios2 Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
openrisc Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
parisc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
powerpc pci-v4.19-changes 2018-08-16 09:21:54 -07:00
riscv Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
s390 Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-15 16:01:47 -07:00
sh pci-v4.19-changes 2018-08-16 09:21:54 -07:00
sparc Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-15 16:01:47 -07:00
um Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
unicore32 kconfig: include kernel/Kconfig.preempt from init/Kconfig 2018-08-02 08:06:54 +09:00
x86 x86/mce: Add notifier_block forward declaration 2018-08-20 18:04:42 +02:00
xtensa Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-08-15 15:04:25 -07:00
.gitignore
Kconfig Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00