lkml.org 
[lkml]   [2005]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-09-13 18:05    [W:0.104 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site