diff --git a/mm/Kconfig b/mm/Kconfig index 7ebd52dc1e40517aa114bb7c1296470dac7e5fcf..dddeb30d645e31fe02a255315ff2cdb62af51e6f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -617,7 +617,7 @@ config ZSMALLOC config PGTABLE_MAPPING bool "Use page table mapping to access object in zsmalloc" - depends on ZSMALLOC + depends on ZSMALLOC=y help By default, zsmalloc uses a copy-based object mapping method to access allocations that span two pages. However, if a particular diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 5f14a7d294cfe1ccea5134198aa1e747daf95d7b..66b0a7d03b2882093089e17228327300fd85c6b5 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1927,7 +1927,6 @@ void unmap_kernel_range(unsigned long addr, unsigned long size) vunmap_page_range(addr, end); flush_tlb_kernel_range(addr, end); } -EXPORT_SYMBOL_GPL(unmap_kernel_range); int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page **pages) { @@ -1939,7 +1938,6 @@ int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page **pages) return err > 0 ? 0 : err; } -EXPORT_SYMBOL_GPL(map_vm_area); static void setup_vmalloc_vm(struct vm_struct *vm, struct vmap_area *va, unsigned long flags, const void *caller)