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
7ca16d26
Commit
7ca16d26
authored
Oct 11, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] floppy: Rewrite fd_cacheflush() to use dma_cache_sync().
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
abb4ae46
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
include/asm-mips/floppy.h
include/asm-mips/floppy.h
+3
-1
No files found.
include/asm-mips/floppy.h
View file @
7ca16d26
...
...
@@ -10,9 +10,11 @@
#ifndef _ASM_FLOPPY_H
#define _ASM_FLOPPY_H
#include <linux/dma-mapping.h>
static
inline
void
fd_cacheflush
(
char
*
addr
,
long
size
)
{
dma_cache_
wback_inv
((
unsigned
long
)
addr
,
size
);
dma_cache_
sync
(
NULL
,
addr
,
size
,
DMA_BIDIRECTIONAL
);
}
#define MAX_BUFFER_SECTORS 24
...
...
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