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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reintroduce __get_cpu_ptr for bigrefs

Signed-off-by: Ravikiran Thirumalai <[email protected]>


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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux