diff options
author | tegge <tegge@FreeBSD.org> | 1998-04-01 20:38:28 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1998-04-01 20:38:28 +0000 |
commit | 574d6dcedfc1e96deb88ef6e7f5540eab053fe2d (patch) | |
tree | ec846d35403410be70b8e4f048e14249fff117b1 /sys/i386/include/smp.h | |
parent | 4d666c93b4d5b3490259f52d169743d8a3a69f68 (diff) | |
download | FreeBSD-src-574d6dcedfc1e96deb88ef6e7f5540eab053fe2d.zip FreeBSD-src-574d6dcedfc1e96deb88ef6e7f5540eab053fe2d.tar.gz |
Declare some variables modified by interrupt handlers as volatile.
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r-- | sys/i386/include/smp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index b10930a..b31aadd 100644 --- a/sys/i386/include/smp.h +++ b/sys/i386/include/smp.h @@ -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.39 1998/03/05 21:45:44 tegge Exp $ + * $Id: smp.h,v 1.40 1998/03/07 21:34:59 dyson Exp $ * */ @@ -78,8 +78,8 @@ int try_mpintrlock __P((void)); extern volatile u_int stopped_cpus; extern volatile u_int started_cpus; -extern unsigned int checkstate_probed_cpus; -extern unsigned int checkstate_need_ast; +extern volatile u_int checkstate_probed_cpus; +extern volatile u_int checkstate_need_ast; /* functions in apic_ipl.s */ void apic_eoi __P((void)); |