]> xenbits.xensource.com Git - people/pauldu/mini-os.git/commitdiff
mini-os: use generic local_irq_enable function
authorThomas Leonard <talex5@gmail.com>
Wed, 16 Jul 2014 11:07:46 +0000 (12:07 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 18 Jul 2014 12:38:08 +0000 (13:38 +0100)
__sti is x86 specific.

Signed-off-by: Thomas Leonard <talex5@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
kernel.c

index 9a30550cbb17c11e8523e8f0a0d80179ff5d8edd..437e5b410061e5ea4054950d2824be66ed3ecb7a 100644 (file)
--- 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();