summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-01-12 17:01:24 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-12 17:01:24 -0800
commit44462c19a68f0b93c8c8503d6c2afa673994ad4a (patch)
tree227cc8c07e5c2d9efb54ce1e92bee08e00719952 /include
parentf4d0d3c5ec5ee76947aa0057089ffab8f83005db (diff)
[PATCH] PPC64 can do preempt debug too
This patch enables the DEBUG_PREEMPT config option for PPC64. I have this turned on on my desktop G5 and it isn't finding any problems. (It did find one problem, in flush_tlb_pending(), that I have just sent a patch for.) BTW, do we really need to restrict which architectures the config option is available on? Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc64/smp.h b/include/asm-ppc64/smp.h
index 6121d21355bc..965980bbbb57 100644
--- a/include/asm-ppc64/smp.h
+++ b/include/asm-ppc64/smp.h
@@ -38,7 +38,7 @@ struct pt_regs;
extern void smp_message_recv(int, struct pt_regs *);
-#define smp_processor_id() (get_paca()->paca_index)
+#define __smp_processor_id() (get_paca()->paca_index)
#define hard_smp_processor_id() (get_paca()->hw_cpu_id)
extern cpumask_t cpu_sibling_map[NR_CPUS];