Add missing "__volatile" to the declaration of enable_reg_soft (the
extern decl in enable.h already has volatile).
This commit is contained in:
parent
343166210e
commit
c40766dbee
@ -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.
|
* Copyright (c) 2001 Matthew Fredette.
|
||||||
@ -217,7 +217,7 @@ vaddr_t vmmap;
|
|||||||
int safepri = PSL_LOWIPL;
|
int safepri = PSL_LOWIPL;
|
||||||
|
|
||||||
/* Soft copy of the enable register. */
|
/* 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.
|
* Our no-fault fault handler.
|
||||||
|
Loading…
Reference in New Issue
Block a user