From 56c6c84155cbd88833f2d441e3ba2e7b63da165c Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 4 Nov 2004 19:19:44 +0000 Subject: [PATCH] Directly use __pcpu for PCPU_* instead of pcpup. --- sys/arm/include/pcpu.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arm/include/pcpu.h b/sys/arm/include/pcpu.h index a71eb790ce56..a610e5d9b426 100644 --- a/sys/arm/include/pcpu.h +++ b/sys/arm/include/pcpu.h @@ -50,10 +50,11 @@ struct pcb; struct pcpu; extern struct pcpu *pcpup; +extern struct pcpu __pcpu; -#define PCPU_GET(member) (pcpup->pc_ ## member) -#define PCPU_PTR(member) (&pcpup->pc_ ## member) -#define PCPU_SET(member,value) (pcpup->pc_ ## member = (value)) +#define PCPU_GET(member) (__pcpu.pc_ ## member) +#define PCPU_PTR(member) (&__pcpu.pc_ ## member) +#define PCPU_SET(member,value) (__pcpu.pc_ ## member = (value)) #endif /* _KERNEL */