diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-08-17 01:47:11 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-08-17 01:47:11 +0000 |
commit | 91b236809a5b990ba91af6acd683521fc9fa2418 (patch) | |
tree | fc458dc5c09c1b729d42d5748acfde2c5fa62cb0 | |
parent | cddb656f7e67f8d2e8b8e868b8ab6e150cafb62e (diff) |
There is no need to assume that the compiler will swap ! and & operator
priorities because we are nice people.
-rw-r--r-- | sys/arch/mvme88k/include/m88410.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/include/m88410.h b/sys/arch/mvme88k/include/m88410.h index ee587006b0a..e497d60f5cf 100644 --- a/sys/arch/mvme88k/include/m88410.h +++ b/sys/arch/mvme88k/include/m88410.h @@ -1,4 +1,4 @@ -/* $OpenBSD: m88410.h,v 1.4 2001/12/22 08:31:05 smurph Exp $ */ +/* $OpenBSD: m88410.h,v 1.5 2003/08/17 01:47:10 miod Exp $ */ /* * Copyright (c) 2001 Steve Murphree, Jr. * All rights reserved. @@ -79,7 +79,7 @@ static __inline__ void mc88410_flush_page(vm_offset_t physaddr) __asm__ __volatile__("st.d r2,r4,0"); /* spin until the operation starts */ - while (!bs->bs_xccr & BS_XCC_FBSY) + while ((bs->bs_xccr & BS_XCC_FBSY) == 0) ; /* restore PSR and friends */ @@ -115,7 +115,7 @@ static __inline__ void mc88410_flush(void) __asm__ __volatile__("st.d r2,r4,0"); /* spin until the operation starts */ - while (!bs->bs_xccr & BS_XCC_FBSY) + while ((bs->bs_xccr & BS_XCC_FBSY) == 0) ; /* restore PSR and friends */ @@ -151,7 +151,7 @@ static __inline__ void mc88410_inval(void) __asm__ __volatile__("st.d r2,r4,0"); /* spin until the operation starts */ - while (!bs->bs_xccr & BS_XCC_FBSY) + while ((bs->bs_xccr & BS_XCC_FBSY) == 0) ; /* restore PSR and friends */ |