[openib-general] [PATCH RFC 05/21] ofed_1_2 Backport kmalloc_node() to sles9sp3

Steve Wise swise at opengridcomputing.com
Mon Jan 15 13:19:28 PST 2007


Backport kmalloc_node() to sles9sp3

Signed-off-by: Steve Wise <swise at opengridcomputing.com>
---

 .../backport/2.6.5_sles9_sp3/include/linux/slab.h  |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/kernel_addons/backport/2.6.5_sles9_sp3/include/linux/slab.h b/kernel_addons/backport/2.6.5_sles9_sp3/include/linux/slab.h
index 0540cc6..1464c56 100644
--- a/kernel_addons/backport/2.6.5_sles9_sp3/include/linux/slab.h
+++ b/kernel_addons/backport/2.6.5_sles9_sp3/include/linux/slab.h
@@ -12,6 +12,11 @@ static inline void *kzalloc(size_t size,
 	return ret;
 }
 
+static inline void *kmalloc_node(size_t size, gfp_t flags, int nid)
+{
+	return kmalloc(size, flags);
+}
+
 #endif
 #include_next <linux/slab.h>
 




More information about the general mailing list