From b2c827b3f66f9e8e3e6062ced428152b9a078ab4 Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Wed, 31 Oct 2007 18:03:38 -0700 Subject: [PATCH] fixup Fix issues with disguising.... Signed-off-by: Christoph Lameter --- include/linux/percpu.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/percpu.h b/include/linux/percpu.h index 4b167c0..55514ef 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -36,7 +36,7 @@ #ifdef CONFIG_DEBUG_VM #define __percpu_disguise(pdata) ((void *)~(unsigned long)(pdata)) #else -#define __percpu_disguide(pdata) ((void *)(pdata)) +#define __percpu_disguise(pdata) ((void *)(pdata)) #endif /* @@ -53,7 +53,7 @@ #define this_cpu_ptr(ptr) \ ({ \ - void *p = ptr; \ + void *p = __percpu_disguise(ptr); \ (__typeof__(ptr))(p + this_cpu_offset()); \ }) -- 1.5.3.4