Commit 11879fb2 authored by Miles Bader's avatar Miles Bader Committed by Linus Torvalds

[PATCH] Properly export symbols that depend on CONFIG_MMU

parent 4ccc2c29
......@@ -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);
......
......@@ -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
......
......@@ -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()"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment