Darik Horn 588d900433 Linux 3.2 compat: rw_semaphore.wait_lock is raw
The wait_lock member of the rw_semaphore struct became a raw_spinlock_t
in Linux 3.2 at torvalds/linux@ddb6c9b58a.

Wrap spin_lock_* function calls in a new spl_rwsem_* interface to
ensure type safety if raw_spinlock_t becomes architecture specific,
and to satisfy these compiler warnings:

  warning: passing argument 1 of ‘spinlock_check’
    from incompatible pointer type [enabled by default]
  note: expected ‘struct spinlock_t *’
    but argument is of type ‘struct raw_spinlock_t *’

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes: #76
Closes: zfsonlinux/zfs#463
2012-01-11 16:28:05 -08:00
..
2010-09-02 16:12:02 -07:00
2010-09-02 16:12:02 -07:00
2011-06-16 11:49:38 -07:00
2010-09-02 16:12:02 -07:00
2010-09-02 16:12:02 -07:00
2010-11-30 10:36:58 -08:00
2010-09-02 16:12:02 -07:00
2010-09-05 21:49:05 -07:00
2010-05-17 15:18:00 -07:00
2011-06-16 11:49:38 -07:00