revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-unix / kernel / sti.c
blob3911e3de1ce444a2679b089bf7881dde11984247
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/libcall.h>
8 #include <signal.h>
10 #include "kernel_base.h"
11 #include "kernel_intern.h"
12 #include "kernel_unix.h"
14 AROS_LH0(void, KrnSti,
15 struct KernelBase *, KernelBase, 10, Kernel)
17 AROS_LIBFUNC_INIT
19 if (!UKB(KernelBase)->SupervisorCount)
21 if (KernelBase->kb_PlatformData->iface)
23 KernelBase->kb_PlatformData->iface->sigprocmask(SIG_UNBLOCK, &KernelBase->kb_PlatformData->sig_int_mask, NULL);
24 AROS_HOST_BARRIER
28 AROS_LIBFUNC_EXIT