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
503c99ef
Commit
503c99ef
authored
Dec 21, 2002
by
Andrew Morton
Committed by
Linus Torvalds
Dec 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Add generic_file_readonly_mmap() for nommu
Add a generic_file_readonly_mmap() for !CONFIG_MMU.
parent
4f781c84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mm/filemap.c
mm/filemap.c
+4
-0
No files found.
mm/filemap.c
View file @
503c99ef
...
@@ -1306,6 +1306,10 @@ int generic_file_mmap(struct file * file, struct vm_area_struct * vma)
...
@@ -1306,6 +1306,10 @@ int generic_file_mmap(struct file * file, struct vm_area_struct * vma)
{
{
return
-
ENOSYS
;
return
-
ENOSYS
;
}
}
int
generic_file_readonly_mmap
(
struct
file
*
file
,
struct
vm_area_struct
*
vma
)
{
return
-
ENOSYS
;
}
#endif
/* CONFIG_MMU */
#endif
/* CONFIG_MMU */
static
inline
struct
page
*
__read_cache_page
(
struct
address_space
*
mapping
,
static
inline
struct
page
*
__read_cache_page
(
struct
address_space
*
mapping
,
...
...
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