fix a typo in the execsmp set_this_task macro. alter the exec spinlock macros slightl...
[AROS.git] / rom / disk / freeunit.c
blobd6e1ecdaecae0a48e6c9824ad40acc076c949396
1 /*
2 Copyright © 2010, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: FreeUnit() function.
6 Lang: english
7 */
9 #include <proto/disk.h>
10 #include <resources/disk.h>
12 AROS_LH1(void, FreeUnit,
13 AROS_LHA(LONG, unitNum, D0),
14 struct DiscResource *, DiskBase, 2, Disk)
16 AROS_LIBFUNC_INIT
18 DiskBase->dr_Flags &= ~(1 << unitNum);
20 AROS_LIBFUNC_EXIT