Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
5b648a98
Commit
5b648a98
authored
Mar 02, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] dma_sync_sg_for_cpu is a no-op except for non-coherent R10000s.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
47d7c44b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
arch/mips/mm/dma-default.c
arch/mips/mm/dma-default.c
+1
-1
No files found.
arch/mips/mm/dma-default.c
View file @
5b648a98
...
...
@@ -295,7 +295,7 @@ void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems,
/* Make sure that gcc doesn't leave the empty loop body. */
for
(
i
=
0
;
i
<
nelems
;
i
++
,
sg
++
)
{
if
(
!
plat_device_is_coherent
(
dev
))
if
(
cpu_is_noncoherent_r10000
(
dev
))
__dma_sync
((
unsigned
long
)
page_address
(
sg
->
page
),
sg
->
length
,
direction
);
plat_unmap_dma_mem
(
sg
->
dma_address
);
...
...
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