Directly use __pcpu for PCPU_* instead of pcpup.

This commit is contained in:
Olivier Houchard 2004-11-04 19:19:44 +00:00
parent 27d97a6c49
commit 56c6c84155

View File

@ -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 */