SLES10 Fixes (part 3):

- Configure check for mutex_lock_nested().  This function was introduced
  as part of the mutex validator in 2.6.18, but if it's unavailable then
  it's safe to fallback to a plain mutex_lock().
This commit is contained in:
Brian Behlendorf
2009-05-20 10:56:13 -07:00
parent 96dded3844
commit 6c9433c150
6 changed files with 107 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ extern "C" {
#include <linux/smp_compat.h>
#include <linux/workqueue_compat.h>
#include <linux/kallsyms_compat.h>
#include <linux/mutex_compat.h>
#ifndef HAVE_UINTPTR_T
typedef unsigned long uintptr_t;