Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6da24e46
Commit
6da24e46
authored
Jan 10, 2003
by
Miles Bader
Committed by
Linus Torvalds
Jan 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Define `read_barrier_depends' on v850
parent
3fe63283
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
include/asm-v850/system.h
include/asm-v850/system.h
+3
-2
No files found.
include/asm-v850/system.h
View file @
6da24e46
/*
/*
* include/asm-v850/system.h -- Low-level interrupt/thread ops
* include/asm-v850/system.h -- Low-level interrupt/thread ops
*
*
* Copyright (C) 2001,02 NEC Corporation
* Copyright (C) 2001,02
,03
NEC Corporation
* Copyright (C) 2001,02 Miles Bader <miles@gnu.org>
* Copyright (C) 2001,02
,03
Miles Bader <miles@gnu.org>
*
*
* This file is subject to the terms and conditions of the GNU General
* 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
* Public License. See the file COPYING in the main directory of this
...
@@ -67,6 +67,7 @@ static inline int irqs_disabled (void)
...
@@ -67,6 +67,7 @@ static inline int irqs_disabled (void)
#define mb() __asm__ __volatile__ ("" ::: "memory")
#define mb() __asm__ __volatile__ ("" ::: "memory")
#define rmb() mb ()
#define rmb() mb ()
#define wmb() mb ()
#define wmb() mb ()
#define read_barrier_depends() ((void)0)
#define set_rmb(var, value) do { xchg (&var, value); } while (0)
#define set_rmb(var, value) do { xchg (&var, value); } while (0)
#define set_mb(var, value) set_rmb (var, value)
#define set_mb(var, value) set_rmb (var, value)
#define set_wmb(var, value) do { var = value; wmb (); } while (0)
#define set_wmb(var, value) do { var = value; wmb (); } while (0)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment