--- net/xfrm/xfrm_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6/net/xfrm/xfrm_proc.c =================================================================== --- linux-2.6.orig/net/xfrm/xfrm_proc.c 2008-05-26 09:34:22.650238007 -0700 +++ linux-2.6/net/xfrm/xfrm_proc.c 2008-05-26 09:35:16.766497421 -0700 @@ -51,8 +51,8 @@ fold_field(void *mib[], int offt) int i; for_each_possible_cpu(i) { - res += *(((unsigned long *)per_cpu_ptr(mib[0], i)) + offt); - res += *(((unsigned long *)per_cpu_ptr(mib[1], i)) + offt); + res += *(((unsigned long *)CPU_PTR(mib[0], i)) + offt); + res += *(((unsigned long *)CPU_PTR(mib[1], i)) + offt); } return res; }