repo.or.cz
/
linux-2.6
/
openmoko-kernel
/
knife-kernel.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Linux 2.6.26-rc5
[linux-2.6/openmoko-kernel/knife-kernel.git]
/
include
/
asm-x86
/
xen
/
events.h
blob
596312a7bfc992eae153ac2b14c01e761bcd2abb
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 */