diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-08-18 03:35:59 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-08-18 03:35:59 +0000 |
commit | ebd28144e798c6b46a51fdb0b2c1c591ae447090 (patch) | |
tree | 2d59d6e41c096577981544dde25c456307d0b220 | |
parent | faf85e7cf0dbf98a6b69896c4bdeb2d9293907fc (diff) | |
download | FreeBSD-src-ebd28144e798c6b46a51fdb0b2c1c591ae447090.zip FreeBSD-src-ebd28144e798c6b46a51fdb0b2c1c591ae447090.tar.gz |
Removed volatile from arg to simple_lock & friends.
-rw-r--r-- | sys/amd64/include/smp.h | 8 | ||||
-rw-r--r-- | sys/i386/include/smp.h | 8 | ||||
-rw-r--r-- | sys/sys/smp.h | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h index a29e6c8..fc55218 100644 --- a/sys/amd64/include/smp.h +++ b/sys/amd64/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.20 1997/08/15 02:14:45 smp Exp smp $ + * $Id: smp.h,v 1.25 1997/08/15 02:34:32 fsmp Exp $ * */ @@ -87,9 +87,9 @@ void io_apic_write __P((int, int, u_int)); /* functions in simplelock.s */ #include <machine/param.h> void s_lock_init __P((struct simplelock *)); -void s_lock __P((__volatile struct simplelock *)); -int s_lock_try __P((__volatile struct simplelock *)); -void s_unlock __P((__volatile struct simplelock *)); +void s_lock __P((struct simplelock *)); +int s_lock_try __P((struct simplelock *)); +void s_unlock __P((struct simplelock *)); /* global data in mp_machdep.c */ extern int mp_ncpus; diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index a29e6c8..fc55218 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.20 1997/08/15 02:14:45 smp Exp smp $ + * $Id: smp.h,v 1.25 1997/08/15 02:34:32 fsmp Exp $ * */ @@ -87,9 +87,9 @@ void io_apic_write __P((int, int, u_int)); /* functions in simplelock.s */ #include <machine/param.h> void s_lock_init __P((struct simplelock *)); -void s_lock __P((__volatile struct simplelock *)); -int s_lock_try __P((__volatile struct simplelock *)); -void s_unlock __P((__volatile struct simplelock *)); +void s_lock __P((struct simplelock *)); +int s_lock_try __P((struct simplelock *)); +void s_unlock __P((struct simplelock *)); /* global data in mp_machdep.c */ extern int mp_ncpus; diff --git a/sys/sys/smp.h b/sys/sys/smp.h index a29e6c8..fc55218 100644 --- a/sys/sys/smp.h +++ b/sys/sys/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.20 1997/08/15 02:14:45 smp Exp smp $ + * $Id: smp.h,v 1.25 1997/08/15 02:34:32 fsmp Exp $ * */ @@ -87,9 +87,9 @@ void io_apic_write __P((int, int, u_int)); /* functions in simplelock.s */ #include <machine/param.h> void s_lock_init __P((struct simplelock *)); -void s_lock __P((__volatile struct simplelock *)); -int s_lock_try __P((__volatile struct simplelock *)); -void s_unlock __P((__volatile struct simplelock *)); +void s_lock __P((struct simplelock *)); +int s_lock_try __P((struct simplelock *)); +void s_unlock __P((struct simplelock *)); /* global data in mp_machdep.c */ extern int mp_ncpus; |