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
Kirill Smelkov
linux
Commits
4a8a2245
Commit
4a8a2245
authored
May 11, 2015
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: inline cache flush toggle helpers
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
b4f006db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/arc/mm/cache_arc700.c
arch/arc/mm/cache_arc700.c
+2
-2
No files found.
arch/arc/mm/cache_arc700.c
View file @
4a8a2245
...
...
@@ -266,7 +266,7 @@ static inline void __cache_line_loop(unsigned long paddr, unsigned long vaddr,
* Machine specific helpers for Entire D-Cache or Per Line ops
*/
static
unsigned
int
__before_dc_op
(
const
int
op
)
static
inline
unsigned
int
__before_dc_op
(
const
int
op
)
{
unsigned
int
reg
=
reg
;
...
...
@@ -284,7 +284,7 @@ static unsigned int __before_dc_op(const int op)
return
reg
;
}
static
void
__after_dc_op
(
const
int
op
,
unsigned
int
reg
)
static
inline
void
__after_dc_op
(
const
int
op
,
unsigned
int
reg
)
{
if
(
op
&
OP_FLUSH
)
/* flush / flush-n-inv both wait */
while
(
read_aux_reg
(
ARC_REG_DC_CTRL
)
&
DC_CTRL_FLUSH_STATUS
);
...
...
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