LCOV - code coverage report
Current view: top level - arch/x86/include/asm - qrwlock.h (source / functions) Hit Total Coverage
Test: btrfstest.info Lines: 2 2 100.0 %
Date: 2014-11-28 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef _ASM_X86_QRWLOCK_H
       2             : #define _ASM_X86_QRWLOCK_H
       3             : 
       4             : #include <asm-generic/qrwlock_types.h>
       5             : 
       6             : #ifndef CONFIG_X86_PPRO_FENCE
       7             : #define queue_write_unlock queue_write_unlock
       8             : static inline void queue_write_unlock(struct qrwlock *lock)
       9             : {
      10     2186652 :         barrier();
      11     2186645 :         ACCESS_ONCE(*(u8 *)&lock->cnts) = 0;
      12             : }
      13             : #endif
      14             : 
      15             : #include <asm-generic/qrwlock.h>
      16             : 
      17             : #endif /* _ASM_X86_QRWLOCK_H */

Generated by: LCOV version 1.10