fix a typo in the execsmp set_this_task macro. alter the exec spinlock macros slightl...
[AROS.git] / rom / kernel / spinlock.c
blob4ad4f8e84fdc27d26c908614c30cf853a2d5555e
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/types/spinlock_s.h>
9 #include <aros/kernel.h>
10 #include <aros/libcall.h>
12 #include <kernel_base.h>
14 /*****************************************************************************
16 NAME */
17 #include <proto/kernel.h>
19 AROS_LH2(spinlock_t *, KrnSpinLock,
21 /* SYNOPSIS */
22 AROS_LHA(spinlock_t *, lock, A0),
23 AROS_LHA(ULONG, mode, D0),
25 /* LOCATION */
26 struct KernelBase *, KernelBase, 43, Kernel)
28 /* FUNCTION
30 INPUTS
32 RESULT
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 ******************************************************************************/
46 AROS_LIBFUNC_INIT
48 /* The implementation of this function is architecture-specific */
49 return lock;
51 AROS_LIBFUNC_EXIT