diff options
author | Harald Koerfgen <hkoerfg@web.de> | 1999-10-12 17:33:49 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 1999-10-12 17:33:49 +0000 |
commit | f20726c6656eb8412fafe93d7e42bef64819bb99 (patch) | |
tree | 1bb272e9142f126b49fdb26a80d7051eeb6b7e6e /include/asm-mips/system.h | |
parent | d6434e1042f3b0a6dfe1b1f615af369486f9b1fa (diff) |
o R3000 fixes
o moved to original 2.3.19 NCR53C9x driver
o CONFIG_ULTRIX_PARTION is working again and now big endian proof
Diffstat (limited to 'include/asm-mips/system.h')
-rw-r--r-- | include/asm-mips/system.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 80cbd08fc..50c7b0d36 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h @@ -1,4 +1,4 @@ -/* $Id: system.h,v 1.15 1999/08/13 17:07:28 harald Exp $ +/* $Id: system.h,v 1.16 1999/10/09 00:01:43 ralf Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -127,6 +127,12 @@ __restore_flags(int flags) /* * These are probably defined overly paranoid ... */ +#ifdef CONFIG_CPU_HAS_WB +#include <asm/wbflush.h> +#define rmb() +#define wmb() wbflush() +#define mb() wbflush() +#else #define mb() \ __asm__ __volatile__( \ "# prevent instructions being moved around\n\t" \ @@ -139,6 +145,7 @@ __asm__ __volatile__( \ : "memory") #define rmb() mb() #define wmb() mb() +#endif #define set_mb(var, value) \ do { var = value; mb(); } while (0) |