projects
/
linux-2.6
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6]
/
include
/
asm-x86
/
xen
/
events.h
1
#ifndef __XEN_EVENTS_H
2
#define __XEN_EVENTS_H
3
4
enum ipi_vector {
5
XEN_RESCHEDULE_VECTOR,
6
XEN_CALL_FUNCTION_VECTOR,
7
8
XEN_NR_IPIS,
9
};
10
11
static inline int xen_irqs_disabled(struct pt_regs *regs)
12
{
13
return raw_irqs_disabled_flags(regs->flags);
14
}
15
16
static inline void xen_do_IRQ(int irq, struct pt_regs *regs)
17
{
18
regs->orig_ax = ~irq;
19
do_IRQ(regs);
20
}
21
22
#endif /* __XEN_EVENTS_H */