[ewg] [PATCH] RDMA/nes: add missing include linux/vmalloc.h

Chien Tung chien.tin.tung at intel.com
Fri May 21 09:00:21 PDT 2010


This will fix compilation errors on ia64 and ppc64.
Also corrected copyright in nes_ud.c

Signed-off-by: Chien Tung <chien.tin.tung at intel.com>
---
 kernel_patches/fixes/nes_0033_ima.patch |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/kernel_patches/fixes/nes_0033_ima.patch b/kernel_patches/fixes/nes_0033_ima.patch
index 5eaba47..ed21edd 100755
--- a/kernel_patches/fixes/nes_0033_ima.patch
+++ b/kernel_patches/fixes/nes_0033_ima.patch
@@ -108,14 +108,12 @@ index 0d29e8f..d9d9592 100644
  		} else {
 diff --git a/drivers/infiniband/hw/nes/nes_ud.c b/drivers/infiniband/hw/nes/nes_ud.c
 new file mode 100644
-index 0000000..714759a
+index 0000000..866e0be
 --- /dev/null
 +++ b/drivers/infiniband/hw/nes/nes_ud.c
-@@ -0,0 +1,2067 @@
+@@ -0,0 +1,2066 @@
 +/*
-+ * Copyright (c) 2008 - 2010 Intel Corporation.  All rights reserved.
-+ * Copyright (c) 2006 - 2008 Neteffect, All rights reserved.
-+ * Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved.
++ * Copyright (c) 2009 - 2010 Intel Corporation.  All rights reserved.
 + *
 + * This software is available to you under a choice of one of two
 + * licenses.  You may choose to be licensed under the terms of the GNU
@@ -147,6 +145,7 @@ index 0000000..714759a
 + */
 +
 +#include <linux/version.h>
++#include <linux/vmalloc.h>
 +#include <linux/completion.h>
 +#include <linux/mutex.h>
 +#include <linux/poll.h>
@@ -2181,14 +2180,12 @@ index 0000000..714759a
 +
 diff --git a/drivers/infiniband/hw/nes/nes_ud.h b/drivers/infiniband/hw/nes/nes_ud.h
 new file mode 100644
-index 0000000..5a03b33
+index 0000000..729b883
 --- /dev/null
 +++ b/drivers/infiniband/hw/nes/nes_ud.h
-@@ -0,0 +1,86 @@
+@@ -0,0 +1,84 @@
 +/*
-+ * Copyright (c) 2008 - 2010 Intel Corporation.  All rights reserved.
-+ * Copyright (c) 2006 - 2008 Neteffect, All rights reserved.
-+ * Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved.
++ * Copyright (c) 2009 - 2010 Intel Corporation.  All rights reserved.
 + *
 + * This software is available to you under a choice of one of two
 + * licenses.  You may choose to be licensed under the terms of the GNU
@@ -2660,3 +2657,6 @@ index 2df9993..cbb6585 100644
 +	struct nes_ud_file    *tx_ud_wq;
  };
  #endif			/* NES_VERBS_H */
+-- 
+1.5.4.3
+
-- 
1.5.4.3




More information about the ewg mailing list