You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
ANDROID: mm: export swapcache_free_entries
Export swapcache_free_entries to be used in the alternative function android_vh_drain_slots_cache_cpu to swap entries in swap slot cache, it's usage is similar to the usage in drain_slots_cache_cpu. Bug: 234214858 Signed-off-by: Bing Han <bing.han@transsion.com> Change-Id: Ia89b1728d540c5cc8995a939a918e12c23057266
This commit is contained in:
committed by
Treehugger Robot
parent
06c2766cbc
commit
034877c195
@@ -1488,6 +1488,7 @@ void swapcache_free_entries(swp_entry_t *entries, int n)
|
||||
if (p)
|
||||
spin_unlock(&p->lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(swapcache_free_entries);
|
||||
|
||||
/*
|
||||
* How many references to page are currently swapped out?
|
||||
|
||||
Reference in New Issue
Block a user