revert between 56095 -> 55830 in arch
[AROS.git] / rom / kernel / spintrylock.c
blobb51279a27a9a820c998155dc5a6846b01b149ef8
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 *, KrnSpinTryLock,
21 /* SYNOPSIS */
22 AROS_LHA(spinlock_t *, lock, A0),
23 AROS_LHA(ULONG, mode, D0),
25 /* LOCATION */
26 struct KernelBase *, KernelBase, 51, 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