mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 09:37:03 +07:00
05e4d3169b
Drop double underscores from header guards in arch/x86/include. They are used inconsistently, and are not necessary. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
25 lines
456 B
C
25 lines
456 B
C
#ifndef _ASM_X86_XEN_EVENTS_H
|
|
#define _ASM_X86_XEN_EVENTS_H
|
|
|
|
enum ipi_vector {
|
|
XEN_RESCHEDULE_VECTOR,
|
|
XEN_CALL_FUNCTION_VECTOR,
|
|
XEN_CALL_FUNCTION_SINGLE_VECTOR,
|
|
XEN_SPIN_UNLOCK_VECTOR,
|
|
|
|
XEN_NR_IPIS,
|
|
};
|
|
|
|
static inline int xen_irqs_disabled(struct pt_regs *regs)
|
|
{
|
|
return raw_irqs_disabled_flags(regs->flags);
|
|
}
|
|
|
|
static inline void xen_do_IRQ(int irq, struct pt_regs *regs)
|
|
{
|
|
regs->orig_ax = ~irq;
|
|
do_IRQ(regs);
|
|
}
|
|
|
|
#endif /* _ASM_X86_XEN_EVENTS_H */
|