mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
831058dec3
Move the bounce buffer code from mm/highmem.c to mm/bounce.c so that it can be more easily disabled when the block layer is disabled. !!!NOTE!!! There may be a bug in this code: Should init_emergency_pool() be contingent on CONFIG_HIGHMEM? Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
31 lines
979 B
Makefile
31 lines
979 B
Makefile
#
|
|
# Makefile for the linux memory manager.
|
|
#
|
|
|
|
mmu-y := nommu.o
|
|
mmu-$(CONFIG_MMU) := fremap.o highmem.o madvise.o memory.o mincore.o \
|
|
mlock.o mmap.o mprotect.o mremap.o msync.o rmap.o \
|
|
vmalloc.o
|
|
|
|
obj-y := bootmem.o filemap.o mempool.o oom_kill.o fadvise.o \
|
|
page_alloc.o page-writeback.o pdflush.o \
|
|
readahead.o swap.o truncate.o vmscan.o \
|
|
prio_tree.o util.o mmzone.o vmstat.o $(mmu-y)
|
|
|
|
ifeq ($(CONFIG_MMU),y)
|
|
obj-y += bounce.o
|
|
endif
|
|
obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o thrash.o
|
|
obj-$(CONFIG_HUGETLBFS) += hugetlb.o
|
|
obj-$(CONFIG_NUMA) += mempolicy.o
|
|
obj-$(CONFIG_SPARSEMEM) += sparse.o
|
|
obj-$(CONFIG_SHMEM) += shmem.o
|
|
obj-$(CONFIG_TMPFS_POSIX_ACL) += shmem_acl.o
|
|
obj-$(CONFIG_TINY_SHMEM) += tiny-shmem.o
|
|
obj-$(CONFIG_SLOB) += slob.o
|
|
obj-$(CONFIG_SLAB) += slab.o
|
|
obj-$(CONFIG_MEMORY_HOTPLUG) += memory_hotplug.o
|
|
obj-$(CONFIG_FS_XIP) += filemap_xip.o
|
|
obj-$(CONFIG_MIGRATION) += migrate.o
|
|
obj-$(CONFIG_SMP) += allocpercpu.o
|