mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 18:16:41 +07:00
af2c632e23
If I include asm/irq.h on the top of my code, and set ARCH=arm64, I'll get a compile warning, details are below: warning: ‘struct pt_regs’ declared inside parameter list [enabled by default] This patch is suggested by Arnd, see: http://lists.infradead.org/pipermail/linux-arm-kernel/2014-December/308270.html Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
12 lines
194 B
C
12 lines
194 B
C
#ifndef __ASM_IRQ_H
|
|
#define __ASM_IRQ_H
|
|
|
|
#include <asm-generic/irq.h>
|
|
|
|
struct pt_regs;
|
|
|
|
extern void migrate_irqs(void);
|
|
extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
|
|
|
|
#endif
|