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
c9334f60
Commit
c9334f60
authored
Jan 25, 2010
by
James Bottomley
Committed by
James Bottomley
Feb 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: add mm API for DMA to vmalloc/vmap areas
Signed-off-by:
James Bottomley
<
James.Bottomley@suse.de
>
parent
252a9aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
arch/sh/include/asm/cacheflush.h
arch/sh/include/asm/cacheflush.h
+8
-0
No files found.
arch/sh/include/asm/cacheflush.h
View file @
c9334f60
...
@@ -63,6 +63,14 @@ static inline void flush_anon_page(struct vm_area_struct *vma,
...
@@ -63,6 +63,14 @@ static inline void flush_anon_page(struct vm_area_struct *vma,
if
(
boot_cpu_data
.
dcache
.
n_aliases
&&
PageAnon
(
page
))
if
(
boot_cpu_data
.
dcache
.
n_aliases
&&
PageAnon
(
page
))
__flush_anon_page
(
page
,
vmaddr
);
__flush_anon_page
(
page
,
vmaddr
);
}
}
static
inline
void
flush_kernel_vmap_range
(
void
*
addr
,
int
size
)
{
__flush_wback_region
(
addr
,
size
);
}
static
inline
void
invalidate_kernel_vmap_range
(
void
*
addr
,
int
size
)
{
__flush_invalidate_region
(
addr
,
size
);
}
#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE
#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE
static
inline
void
flush_kernel_dcache_page
(
struct
page
*
page
)
static
inline
void
flush_kernel_dcache_page
(
struct
page
*
page
)
...
...
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