From 6da24e46369db8f43480187f14151d4fb02c4f29 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 10 Jan 2003 04:42:08 -0800 Subject: [PATCH] Define `read_barrier_depends' on v850 --- include/asm-v850/system.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 + * Copyright (C) 2001,02,03 NEC Corporation + * Copyright (C) 2001,02,03 Miles Bader * * 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) -- cgit v1.2.3