From 5f42c894ff5059dbaa27ccf5a5762e425003918b Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Tue, 29 Dec 2020 15:43:42 +0530 Subject: [PATCH] ANDROID: mm: Export total_swapcache_pages Export total_swapcache_pages symbol which is used as part of meminfo collection from minidump module. Bug: 176277894 Change-Id: I75f508555b7f310c1aee788a7e300862abccba93 Signed-off-by: Vijayanand Jitta --- mm/swap_state.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/swap_state.c b/mm/swap_state.c index ee465827420e..a0429c4341e6 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -93,6 +93,7 @@ unsigned long total_swapcache_pages(void) } return ret; } +EXPORT_SYMBOL_GPL(total_swapcache_pages); static atomic_t swapin_readahead_hits = ATOMIC_INIT(4);