aboutsummaryrefslogtreecommitdiff
path: root/xen/evt.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/evt.c')
-rw-r--r--xen/evt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/xen/evt.c b/xen/evt.c
index cec78c0d..e0c93744 100644
--- a/xen/evt.c
+++ b/xen/evt.c
@@ -28,7 +28,7 @@
#define NEVNT (sizeof(unsigned long) * sizeof(unsigned long) * 8)
int int_mask[NSPL];
-spl_t curr_ipl;
+spl_t curr_ipl[NCPUS];
interrupt_handler_fn ivect[NEVNT];
int intpri[NEVNT];
@@ -92,8 +92,11 @@ extern void hyp_callback(void);
extern void hyp_failsafe_callback(void);
void hyp_intrinit(void) {
+ int i;
+
form_int_mask();
- curr_ipl = SPLHI;
+ for (i = 0; i < NCPUS; i++)
+ curr_ipl[i] = SPLHI;
hyp_shared_info.evtchn_mask[0] = int_mask[SPLHI];
#ifdef __i386__
hyp_set_callbacks(KERNEL_CS, hyp_callback,