1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-27 16:39:08 +00:00

remove #include "opt_smp.h"

remove declarations for the SMPcurproc[NCPU] etc arrays. There was no
need to mention NCPU there, and they've been moved to their normal home.
This commit is contained in:
Peter Wemm 1997-05-07 19:53:20 +00:00
parent f40e607832
commit 2263dd148e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25548
3 changed files with 3 additions and 18 deletions

View File

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
* $Id: smp.h,v 1.6 1997/05/05 22:56:37 fsmp Exp $
* $Id: smp.h,v 1.7 1997/05/06 21:29:57 fsmp Exp $
*
*/
@ -15,8 +15,6 @@
#ifdef KERNEL
#include "opt_smp.h"
#if defined(SMP) && !defined(APIC_IO)
# error APIC_IO required for SMP, add "options APIC_IO" to your config file.
#endif /* SMP && NCPU */
@ -42,9 +40,6 @@ void rel_mplock __P((void));
void try_mplock __P((void));
/* global data in mp_machdep.c */
extern struct proc* SMPcurproc[NCPU];
extern struct pcb* SMPcurpcb[NCPU];
extern struct timeval SMPruntime[NCPU];
extern int mp_ncpus;
extern int mp_naps;
extern int mp_nbusses;

View File

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
* $Id: smp.h,v 1.6 1997/05/05 22:56:37 fsmp Exp $
* $Id: smp.h,v 1.7 1997/05/06 21:29:57 fsmp Exp $
*
*/
@ -15,8 +15,6 @@
#ifdef KERNEL
#include "opt_smp.h"
#if defined(SMP) && !defined(APIC_IO)
# error APIC_IO required for SMP, add "options APIC_IO" to your config file.
#endif /* SMP && NCPU */
@ -42,9 +40,6 @@ void rel_mplock __P((void));
void try_mplock __P((void));
/* global data in mp_machdep.c */
extern struct proc* SMPcurproc[NCPU];
extern struct pcb* SMPcurpcb[NCPU];
extern struct timeval SMPruntime[NCPU];
extern int mp_ncpus;
extern int mp_naps;
extern int mp_nbusses;

View File

@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
* $Id: smp.h,v 1.6 1997/05/05 22:56:37 fsmp Exp $
* $Id: smp.h,v 1.7 1997/05/06 21:29:57 fsmp Exp $
*
*/
@ -15,8 +15,6 @@
#ifdef KERNEL
#include "opt_smp.h"
#if defined(SMP) && !defined(APIC_IO)
# error APIC_IO required for SMP, add "options APIC_IO" to your config file.
#endif /* SMP && NCPU */
@ -42,9 +40,6 @@ void rel_mplock __P((void));
void try_mplock __P((void));
/* global data in mp_machdep.c */
extern struct proc* SMPcurproc[NCPU];
extern struct pcb* SMPcurpcb[NCPU];
extern struct timeval SMPruntime[NCPU];
extern int mp_ncpus;
extern int mp_naps;
extern int mp_nbusses;