Subversion Repositories HelenOS-historic

Rev

Rev 1104 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1104 Rev 1702
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup sync
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
-
 
33
 */
-
 
34
 
29
#ifndef __SPINLOCK_H__
35
#ifndef __SPINLOCK_H__
30
#define __SPINLOCK_H__
36
#define __SPINLOCK_H__
31
 
37
 
32
#include <arch/types.h>
38
#include <arch/types.h>
33
#include <typedefs.h>
39
#include <typedefs.h>
Line 107... Line 113...
107
#define spinlock_unlock(x)      preemption_enable()
113
#define spinlock_unlock(x)      preemption_enable()
108
 
114
 
109
#endif
115
#endif
110
 
116
 
111
#endif
117
#endif
-
 
118
 
-
 
119
 /** @}
-
 
120
 */
-
 
121