aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-04-18 22:21:05 -0400
committerMatthew Wilcox <willy@linux.intel.com>2008-04-18 22:22:54 -0400
commit6188e10d38b8d7244ee7776d5f1f88c837b4b93f (patch)
tree6675e02c47fb684a613e10513816b5dcc5de28a9 /drivers/infiniband
parentd7b1acd3b524b39f418e463e836b48ac041954d6 (diff)
Convert asm/semaphore.h users to linux/semaphore.h
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/core/user_mad.c2
-rw-r--r--drivers/infiniband/hw/mthca/mthca_dev.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/infiniband/core/user_mad.c b/drivers/infiniband/core/user_mad.c
index 4e915104ac4c..be953e87bf93 100644
--- a/drivers/infiniband/core/user_mad.c
+++ b/drivers/infiniband/core/user_mad.c
@@ -46,9 +46,9 @@
46#include <linux/mutex.h> 46#include <linux/mutex.h>
47#include <linux/kref.h> 47#include <linux/kref.h>
48#include <linux/compat.h> 48#include <linux/compat.h>
49#include <linux/semaphore.h>
49 50
50#include <asm/uaccess.h> 51#include <asm/uaccess.h>
51#include <asm/semaphore.h>
52 52
53#include <rdma/ib_mad.h> 53#include <rdma/ib_mad.h>
54#include <rdma/ib_user_mad.h> 54#include <rdma/ib_user_mad.h>
diff --git a/drivers/infiniband/hw/mthca/mthca_dev.h b/drivers/infiniband/hw/mthca/mthca_dev.h
index 0e842e023400..7bc32f8e377e 100644
--- a/drivers/infiniband/hw/mthca/mthca_dev.h
+++ b/drivers/infiniband/hw/mthca/mthca_dev.h
@@ -46,8 +46,7 @@
46#include <linux/timer.h> 46#include <linux/timer.h>
47#include <linux/mutex.h> 47#include <linux/mutex.h>
48#include <linux/list.h> 48#include <linux/list.h>
49 49#include <linux/semaphore.h>
50#include <asm/semaphore.h>
51 50
52#include "mthca_provider.h" 51#include "mthca_provider.h"
53#include "mthca_doorbell.h" 52#include "mthca_doorbell.h"