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
d7538636
Commit
d7538636
authored
Apr 06, 2014
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: fix mmuv2 warning
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
9a091d9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
arch/arc/mm/cache_arc700.c
arch/arc/mm/cache_arc700.c
+4
-0
No files found.
arch/arc/mm/cache_arc700.c
View file @
d7538636
...
@@ -253,12 +253,16 @@ static inline void __cache_line_loop(unsigned long paddr, unsigned long vaddr,
...
@@ -253,12 +253,16 @@ static inline void __cache_line_loop(unsigned long paddr, unsigned long vaddr,
if
(
cacheop
==
OP_INV_IC
)
{
if
(
cacheop
==
OP_INV_IC
)
{
aux_cmd
=
ARC_REG_IC_IVIL
;
aux_cmd
=
ARC_REG_IC_IVIL
;
#if (CONFIG_ARC_MMU_VER > 2)
aux_tag
=
ARC_REG_IC_PTAG
;
aux_tag
=
ARC_REG_IC_PTAG
;
#endif
}
}
else
{
else
{
/* d$ cmd: INV (discard or wback-n-discard) OR FLUSH (wback) */
/* d$ cmd: INV (discard or wback-n-discard) OR FLUSH (wback) */
aux_cmd
=
cacheop
&
OP_INV
?
ARC_REG_DC_IVDL
:
ARC_REG_DC_FLDL
;
aux_cmd
=
cacheop
&
OP_INV
?
ARC_REG_DC_IVDL
:
ARC_REG_DC_FLDL
;
#if (CONFIG_ARC_MMU_VER > 2)
aux_tag
=
ARC_REG_DC_PTAG
;
aux_tag
=
ARC_REG_DC_PTAG
;
#endif
}
}
/* Ensure we properly floor/ceil the non-line aligned/sized requests
/* Ensure we properly floor/ceil the non-line aligned/sized requests
...
...
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