Files
mirror_zfs/module/spl
Etienne Dechamps 38b5ff4d07 Fix undefined reference on spl_mutex_spin_max().
Commit 3160d4f56b changed the set of
conditions under which spl_mutex_spin_max would be implemented as a
function by changing an #if in sys/mutex.h. The corresponding
implementation file spl-mutex.c, however, has not been updated to
reflect the change. This results in undefined reference errors on
spl_mutex_spin_max under the following condition:

((!CONFIG_SMP || CONFIG_DEBUG_MUTEXES) && HAVE_MUTEX_OWNER && HAVE_TASK_CURR)

This patch fixes the issue by using the same #if in sys/mutex.h and
spl-mutex.c.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#851
2012-07-26 14:54:53 -07:00
..
2010-01-08 09:37:54 -08:00
2012-04-06 12:06:19 -07:00
2012-07-20 11:14:04 -07:00
2011-01-12 11:38:05 -08:00
2012-02-02 11:28:00 -08:00
2010-05-17 15:18:00 -07:00
2012-07-02 09:33:09 -07:00
2012-06-11 09:17:45 -07:00
2010-07-20 13:30:40 -07:00