mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
CONFIG_BCACHE is tristate, so dm-pcache can also be built-in. Switch the Makefile to use obj-$(CONFIG_DM_PCACHE) so the target can be linked into vmlinux instead of always being a loadable module. Also rename cache_flush() to pcache_cache_flush() to avoid a global symbol clash with sunrpc/cache.c's cache_flush(). Signed-off-by: Li Chen <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]>
4 lines
180 B
Makefile
4 lines
180 B
Makefile
dm-pcache-y := dm_pcache.o cache_dev.o segment.o backing_dev.o cache.o cache_gc.o cache_writeback.o cache_segment.o cache_key.o cache_req.o
|
|
|
|
obj-$(CONFIG_DM_PCACHE) += dm-pcache.o
|