Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun2/sun2 Add missing "__volatile" to the declarati...
details: https://anonhg.NetBSD.org/src/rev/80164d061fa7
branches: trunk
changeset: 532055:80164d061fa7
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu May 30 22:40:31 2002 +0000
description:
Add missing "__volatile" to the declaration of enable_reg_soft (the
extern decl in enable.h already has volatile).
diffstat:
sys/arch/sun2/sun2/machdep.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b0b3b062b207 -r 80164d061fa7 sys/arch/sun2/sun2/machdep.c
--- a/sys/arch/sun2/sun2/machdep.c Thu May 30 22:33:12 2002 +0000
+++ b/sys/arch/sun2/sun2/machdep.c Thu May 30 22:40:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.14 2002/03/20 17:59:26 christos Exp $ */
+/* $NetBSD: machdep.c,v 1.15 2002/05/30 22:40:31 thorpej Exp $ */
/*
* Copyright (c) 2001 Matthew Fredette.
@@ -217,7 +217,7 @@
int safepri = PSL_LOWIPL;
/* Soft copy of the enable register. */
-u_short enable_reg_soft = ENABLE_REG_SOFT_UNDEF;
+__volatile u_short enable_reg_soft = ENABLE_REG_SOFT_UNDEF;
/*
* Our no-fault fault handler.
Home |
Main Index |
Thread Index |
Old Index