Your IP : 172.28.240.42


Current Path : /usr/src/linux-headers-3.13.0-32/arch/arm64/include/asm/xen/
Upload File :
Current File : //usr/src/linux-headers-3.13.0-32/arch/arm64/include/asm/xen/events.h

#ifndef _ASM_ARM64_XEN_EVENTS_H
#define _ASM_ARM64_XEN_EVENTS_H

#include <asm/ptrace.h>
#include <asm/atomic.h>

enum ipi_vector {
	XEN_PLACEHOLDER_VECTOR,

	/* Xen IPIs go here */
	XEN_NR_IPIS,
};

static inline int xen_irqs_disabled(struct pt_regs *regs)
{
	return raw_irqs_disabled_flags((unsigned long) regs->pstate);
}

#define xchg_xen_ulong(ptr, val) xchg((ptr), (val))

#endif /* _ASM_ARM64_XEN_EVENTS_H */