浏览代码

IB: Convert kmem_cache_t -> struct kmem_cache

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier 18 年之前
父节点
当前提交
e54f81889c
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      drivers/infiniband/core/mad.c
  2. 1 1
      drivers/infiniband/hw/amso1100/c2.h
  3. 1 1
      drivers/infiniband/ulp/iser/iscsi_iser.h

+ 1 - 1
drivers/infiniband/core/mad.c

@@ -46,7 +46,7 @@ MODULE_DESCRIPTION("kernel IB MAD API");
 MODULE_AUTHOR("Hal Rosenstock");
 MODULE_AUTHOR("Sean Hefty");
 
-static kmem_cache_t *ib_mad_cache;
+static struct kmem_cache *ib_mad_cache;
 
 static struct list_head ib_mad_port_list;
 static u32 ib_mad_client_id = 0;

+ 1 - 1
drivers/infiniband/hw/amso1100/c2.h

@@ -302,7 +302,7 @@ struct c2_dev {
 	unsigned long pa;	/* PA device memory */
 	void **qptr_array;
 
-	kmem_cache_t *host_msg_cache;
+	struct kmem_cache *host_msg_cache;
 
 	struct list_head cca_link;		/* adapter list */
 	struct list_head eh_wakeup_list;	/* event wakeup list */

+ 1 - 1
drivers/infiniband/ulp/iser/iscsi_iser.h

@@ -283,7 +283,7 @@ struct iser_global {
 	struct mutex      connlist_mutex;
 	struct list_head  connlist;		/* all iSER IB connections */
 
-	kmem_cache_t *desc_cache;
+	struct kmem_cache *desc_cache;
 };
 
 extern struct iser_global ig;