Logo Search packages:      
Sourcecode: linux version File versions  Download package

spinlock_types.h

#ifndef _ALPHA_SPINLOCK_TYPES_H
#define _ALPHA_SPINLOCK_TYPES_H

#ifndef __LINUX_SPINLOCK_TYPES_H
# error "please don't include this file directly"
#endif

00008 typedef struct {
      volatile unsigned int lock;
} raw_spinlock_t;

#define __RAW_SPIN_LOCK_UNLOCKED    { 0 }

00014 typedef struct {
      volatile unsigned int lock;
} raw_rwlock_t;

#define __RAW_RW_LOCK_UNLOCKED            { 0 }

#endif

Generated by  Doxygen 1.6.0   Back to index