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
Kirill Smelkov
linux
Commits
11879fb2
Commit
11879fb2
authored
Aug 31, 2003
by
Miles Bader
Committed by
Linus Torvalds
Aug 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Properly export symbols that depend on CONFIG_MMU
parent
4ccc2c29
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
kernel/ksyms.c
kernel/ksyms.c
+0
-2
mm/fremap.c
mm/fremap.c
+5
-1
mm/memory.c
mm/memory.c
+2
-0
No files found.
kernel/ksyms.c
View file @
11879fb2
...
...
@@ -120,7 +120,6 @@ EXPORT_SYMBOL(mem_map);
EXPORT_SYMBOL
(
max_mapnr
);
#endif
EXPORT_SYMBOL
(
high_memory
);
EXPORT_SYMBOL_GPL
(
invalidate_mmap_range
);
EXPORT_SYMBOL
(
vmtruncate
);
EXPORT_SYMBOL
(
find_vma
);
EXPORT_SYMBOL
(
get_unmapped_area
);
...
...
@@ -198,7 +197,6 @@ EXPORT_SYMBOL(__invalidate_device);
EXPORT_SYMBOL
(
invalidate_inode_pages
);
EXPORT_SYMBOL_GPL
(
invalidate_inode_pages2
);
EXPORT_SYMBOL
(
truncate_inode_pages
);
EXPORT_SYMBOL
(
install_page
);
EXPORT_SYMBOL
(
fsync_bdev
);
EXPORT_SYMBOL
(
permission
);
EXPORT_SYMBOL
(
vfs_permission
);
...
...
mm/fremap.c
View file @
11879fb2
...
...
@@ -3,7 +3,7 @@
*
* Explicit pagetable population and nonlinear (random) mappings support.
*
* started by Ingo Molnar, Copyright (C) 2002
* started by Ingo Molnar, Copyright (C) 2002
, 2003
*/
#include <linux/mm.h>
...
...
@@ -13,6 +13,8 @@
#include <linux/pagemap.h>
#include <linux/swapops.h>
#include <linux/rmap-locking.h>
#include <linux/module.h>
#include <asm/mmu_context.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
...
...
@@ -95,6 +97,8 @@ int install_page(struct mm_struct *mm, struct vm_area_struct *vma,
err:
return
err
;
}
EXPORT_SYMBOL
(
install_page
);
/***
* sys_remap_file_pages - remap arbitrary pages of a shared backing store
...
...
mm/memory.c
View file @
11879fb2
...
...
@@ -45,6 +45,7 @@
#include <linux/pagemap.h>
#include <linux/vcache.h>
#include <linux/rmap-locking.h>
#include <linux/module.h>
#include <asm/pgalloc.h>
#include <asm/rmap.h>
...
...
@@ -1138,6 +1139,7 @@ void invalidate_mmap_range(struct address_space *mapping,
invalidate_mmap_range_list
(
&
mapping
->
i_mmap_shared
,
hba
,
hlen
);
up
(
&
mapping
->
i_shared_sem
);
}
EXPORT_SYMBOL_GPL
(
invalidate_mmap_range
);
/*
* Handle all mappings that got truncated by a "truncate()"
...
...
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