summaryrefslogtreecommitdiff
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)
downloadlinux-3.10-6188e10d38b8d7244ee7776d5f1f88c837b4b93f.tar.gz
linux-3.10-6188e10d38b8d7244ee7776d5f1f88c837b4b93f.tar.bz2
linux-3.10-6188e10d38b8d7244ee7776d5f1f88c837b4b93f.zip
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 4e915104ac4..be953e87bf9 100644
--- a/drivers/infiniband/core/user_mad.c
+++ b/drivers/infiniband/core/user_mad.c
@@ -46,9 +46,9 @@
#include <linux/mutex.h>
#include <linux/kref.h>
#include <linux/compat.h>
+#include <linux/semaphore.h>
#include <asm/uaccess.h>
-#include <asm/semaphore.h>
#include <rdma/ib_mad.h>
#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 0e842e02340..7bc32f8e377 100644
--- a/drivers/infiniband/hw/mthca/mthca_dev.h
+++ b/drivers/infiniband/hw/mthca/mthca_dev.h
@@ -46,8 +46,7 @@
#include <linux/timer.h>
#include <linux/mutex.h>
#include <linux/list.h>
-
-#include <asm/semaphore.h>
+#include <linux/semaphore.h>
#include "mthca_provider.h"
#include "mthca_doorbell.h"