diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-18 20:44:48 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-18 20:44:48 +0000 |
commit | 6f1c71b9977ec4838e8a0f2afa8e50cb199998ac (patch) | |
tree | ca44c19be21547752322695019a186792256a473 /sys/arch/sparc64/include/cpu.h | |
parent | e67049c7109f02116e7819328dcfd9022c92ae9b (diff) |
Don't try to send IPIs to CPUs that aren't running (yet).
Diffstat (limited to 'sys/arch/sparc64/include/cpu.h')
-rw-r--r-- | sys/arch/sparc64/include/cpu.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h index b888013280d..dc2f6f8c736 100644 --- a/sys/arch/sparc64/include/cpu.h +++ b/sys/arch/sparc64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.48 2007/10/16 19:22:49 kettenis Exp $ */ +/* $OpenBSD: cpu.h,v 1.49 2007/10/18 20:44:47 kettenis Exp $ */ /* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */ /* @@ -113,6 +113,7 @@ struct cpu_info { struct proc *ci_fpproc; int ci_number; + int ci_flags; int ci_upaid; int ci_node; struct schedstate_percpu ci_schedstate; /* scheduler state */ @@ -131,6 +132,8 @@ struct cpu_info { paddr_t ci_paddr; /* Phys addr of this structure. */ }; +#define CPUF_RUNNING 0x0001 /* CPU is running */ + extern struct cpu_info *cpus; #define curpcb curcpu()->ci_cpcb |