[BACK]Return to lock.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / sparc / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/sparc/include/lock.h between version 1.31 and 1.32

version 1.31, 2008/04/28 20:23:36 version 1.32, 2017/09/17 00:01:08
Line 72  extern void __cpu_simple_lock(__cpu_simp
Line 72  extern void __cpu_simple_lock(__cpu_simp
 #endif  #endif
   
 static __inline int  static __inline int
 __SIMPLELOCK_LOCKED_P(__cpu_simple_lock_t *__ptr)  __SIMPLELOCK_LOCKED_P(const __cpu_simple_lock_t *__ptr)
 {  {
         return *__ptr == __SIMPLELOCK_LOCKED;          return *__ptr == __SIMPLELOCK_LOCKED;
 }  }
   
 static __inline int  static __inline int
 __SIMPLELOCK_UNLOCKED_P(__cpu_simple_lock_t *__ptr)  __SIMPLELOCK_UNLOCKED_P(const __cpu_simple_lock_t *__ptr)
 {  {
         return *__ptr == __SIMPLELOCK_UNLOCKED;          return *__ptr == __SIMPLELOCK_UNLOCKED;
 }  }

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

CVSweb <webmaster@jp.NetBSD.org>