Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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-2.6.23
Commits
9ff77c46
Commit
9ff77c46
authored
Mar 08, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export shm_align_mask and flush_data_cache_page.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
07b4ebd3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
arch/mips/kernel/syscall.c
arch/mips/kernel/syscall.c
+3
-0
arch/mips/mm/cache.c
arch/mips/mm/cache.c
+2
-0
No files found.
arch/mips/kernel/syscall.c
View file @
9ff77c46
...
...
@@ -26,6 +26,7 @@
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/compiler.h>
#include <linux/module.h>
#include <asm/branch.h>
#include <asm/cachectl.h>
...
...
@@ -56,6 +57,8 @@ out:
unsigned
long
shm_align_mask
=
PAGE_SIZE
-
1
;
/* Sane caches */
EXPORT_SYMBOL
(
shm_align_mask
);
#define COLOUR_ALIGN(addr,pgoff) \
((((addr) + shm_align_mask) & ~shm_align_mask) + \
(((pgoff) << PAGE_SHIFT) & shm_align_mask))
...
...
arch/mips/mm/cache.c
View file @
9ff77c46
...
...
@@ -33,6 +33,8 @@ void (*flush_cache_sigtramp)(unsigned long addr);
void
(
*
flush_data_cache_page
)(
unsigned
long
addr
);
void
(
*
flush_icache_all
)(
void
);
EXPORT_SYMBOL
(
flush_data_cache_page
);
#ifdef CONFIG_DMA_NONCOHERENT
/* DMA cache operations. */
...
...
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