diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-07 04:01:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:54:06 -0500 |
commit | 55be570c529643e83195d6688805127533184aa4 (patch) | |
tree | ab5789c467842e1d056f36d75ab8c73ddcce935f | |
parent | a7f988ba304c5f6e78f937a06d120a0097b4d351 (diff) |
[PATCH] mm/{mmap,nommu}.c: several unexports
I didn't find any possible modular usage in the kernel.
This patch was already ACK'ed by Christoph Hellwig.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | mm/mmap.c | 4 | ||||
-rw-r--r-- | mm/nommu.c | 4 |
2 files changed, 0 insertions, 8 deletions
@@ -155,10 +155,6 @@ int __vm_enough_memory(long pages, int cap_sys_admin) | |||
155 | return -ENOMEM; | 155 | return -ENOMEM; |
156 | } | 156 | } |
157 | 157 | ||
158 | EXPORT_SYMBOL(sysctl_overcommit_memory); | ||
159 | EXPORT_SYMBOL(sysctl_overcommit_ratio); | ||
160 | EXPORT_SYMBOL(sysctl_max_map_count); | ||
161 | EXPORT_SYMBOL(vm_committed_space); | ||
162 | EXPORT_SYMBOL(__vm_enough_memory); | 158 | EXPORT_SYMBOL(__vm_enough_memory); |
163 | 159 | ||
164 | /* | 160 | /* |
diff --git a/mm/nommu.c b/mm/nommu.c index d1e076a487cb..6deb6ab3d6ad 100644 --- a/mm/nommu.c +++ b/mm/nommu.c | |||
@@ -44,10 +44,6 @@ int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT; | |||
44 | int heap_stack_gap = 0; | 44 | int heap_stack_gap = 0; |
45 | 45 | ||
46 | EXPORT_SYMBOL(mem_map); | 46 | EXPORT_SYMBOL(mem_map); |
47 | EXPORT_SYMBOL(sysctl_max_map_count); | ||
48 | EXPORT_SYMBOL(sysctl_overcommit_memory); | ||
49 | EXPORT_SYMBOL(sysctl_overcommit_ratio); | ||
50 | EXPORT_SYMBOL(vm_committed_space); | ||
51 | EXPORT_SYMBOL(__vm_enough_memory); | 47 | EXPORT_SYMBOL(__vm_enough_memory); |
52 | 48 | ||
53 | /* list of shareable VMAs */ | 49 | /* list of shareable VMAs */ |