diff options
| author | Miles Bader <miles@lsi.nec.co.jp> | 2003-01-10 04:42:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-01-10 04:42:08 -0800 |
| commit | 6da24e46369db8f43480187f14151d4fb02c4f29 (patch) | |
| tree | 68a066a533c031bc33d2d4a7e300d9690244f346 /include | |
| parent | 3fe63283e4b24cab5a5530b7168b645d8624a019 (diff) | |
[PATCH] Define `read_barrier_depends' on v850
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-v850/system.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-v850/system.h b/include/asm-v850/system.h index 23b8525dd353..d1e44e59085f 100644 --- a/include/asm-v850/system.h +++ b/include/asm-v850/system.h @@ -1,8 +1,8 @@ /* * include/asm-v850/system.h -- Low-level interrupt/thread ops * - * Copyright (C) 2001,02 NEC Corporation - * Copyright (C) 2001,02 Miles Bader <miles@gnu.org> + * Copyright (C) 2001,02,03 NEC Corporation + * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org> * * 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 @@ -67,6 +67,7 @@ static inline int irqs_disabled (void) #define mb() __asm__ __volatile__ ("" ::: "memory") #define rmb() mb () #define wmb() mb () +#define read_barrier_depends() ((void)0) #define set_rmb(var, value) do { xchg (&var, value); } while (0) #define set_mb(var, value) set_rmb (var, value) #define set_wmb(var, value) do { var = value; wmb (); } while (0) |
