diff options
author | Takuya ASADA <syuu@cvs.openbsd.org> | 2010-09-11 11:29:51 +0000 |
---|---|---|
committer | Takuya ASADA <syuu@cvs.openbsd.org> | 2010-09-11 11:29:51 +0000 |
commit | af8cab657ccebdedb57110926c79dbb4b51f4664 (patch) | |
tree | 957100f6bb371ec45c9bd8564a97d938724c5257 /sys/arch/sgi/include/cpu.h | |
parent | 4547a29bb5bafa8c3d8068937641164a9e24f967 (diff) |
move machine dependent GET_CPU_INFO(), getcurcpu(), setcurcpu() to arch/sgi. ok miod@
Diffstat (limited to 'sys/arch/sgi/include/cpu.h')
-rw-r--r-- | sys/arch/sgi/include/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/include/cpu.h b/sys/arch/sgi/include/cpu.h index 57c639d4069..011721c63fe 100644 --- a/sys/arch/sgi/include/cpu.h +++ b/sys/arch/sgi/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.10 2010/09/09 10:59:01 syuu Exp $ */ +/* $OpenBSD: cpu.h,v 1.11 2010/09/11 11:29:50 syuu Exp $ */ /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -47,6 +47,8 @@ #ifdef _KERNEL #if defined(MULTIPROCESSOR) && !defined(_LOCORE) struct cpu_info; +struct cpu_info *hw_getcurcpu(void); +void hw_setcurcpu(struct cpu_info *); void hw_cpu_boot_secondary(struct cpu_info *); void hw_cpu_hatch(struct cpu_info *); void hw_cpu_spinup_trampoline(struct cpu_info *); |