[patch 5/11] mm: Bigrefs -- add_getcpuptr

From: Ravikiran G Thirumalai
Date: Tue Sep 13 2005 - 11:02:28 EST


Reintroduce __get_cpu_ptr for bigrefs

Signed-off-by: Ravikiran Thirumalai <kiran@xxxxxxxxxxxx>


Index: alloc_percpu-2.6.13-rc6/include/linux/percpu.h
===================================================================
--- alloc_percpu-2.6.13-rc6.orig/include/linux/percpu.h 2005-08-15 15:31:35.770020000 -0400
+++ alloc_percpu-2.6.13-rc6/include/linux/percpu.h 2005-08-15 17:12:57.745572000 -0400
@@ -59,4 +59,5 @@
__alignof__(type), gfpflags))); \
})

+#define __get_cpu_ptr(ptr) per_cpu_ptr(ptr, smp_processor_id())
#endif /* __LINUX_PERCPU_H */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/