hashed spinlocks

From: Daniel Walker
Date: Sun Jul 31 2005 - 11:30:29 EST

>From 2.6.13-rc4 this hunk

+# define rt_hash_lock_addr(slot) NULL
+# define rt_hash_lock_init()

Doesn't work with the following,

+ spin_unlock(rt_hash_lock_addr(i));

Cause your spin locking a NULL .. I would give a patch, but I'm not sure
what should be done in this case..


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/