Messages in this thread Patch in this message | | | Date | Tue, 13 Sep 2005 09:01:41 -0700 | From | Ravikiran G Thirumalai <> | Subject | [patch 5/11] mm: Bigrefs -- add_getcpuptr |
| |
Reintroduce __get_cpu_ptr for bigrefs
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |