From: Thomas Leonard Date: Wed, 16 Jul 2014 11:07:46 +0000 (+0100) Subject: mini-os: use generic local_irq_enable function X-Git-Tag: xen-4.5.0-rc1~12 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=10e6e726a1b39a0ab3e55af47fc32c1eac4b801c;p=people%2Fliuw%2Fmini-os.git mini-os: use generic local_irq_enable function __sti is x86 specific. Signed-off-by: Thomas Leonard Acked-by: Ian Campbell Acked-by: Samuel Thibault --- diff --git a/kernel.c b/kernel.c index 9a30550..437e5b4 100644 --- a/kernel.c +++ b/kernel.c @@ -121,7 +121,7 @@ void start_kernel(void) init_events(); /* ENABLE EVENT DELIVERY. This is disabled at start of day. */ - __sti(); + local_irq_enable(); setup_xen_features();