mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ANDROID: mm: Export si_swapinfo
Export si_swapinfo symbol which is used as part of meminfo collection from minidump module. Bug: 199236943 Change-Id: I5dc1672ce649c22dc33d4a544ee5a38f8376becf Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org> Signed-off-by: Jaskaran Singh <quic_jasksing@quicinc.com>
This commit is contained in:
committed by
Suren Baghdasaryan
parent
43aae34811
commit
a47a1cfd59
@@ -3260,6 +3260,7 @@ void si_swapinfo(struct sysinfo *val)
|
||||
val->totalswap = total_swap_pages + nr_to_be_unused;
|
||||
spin_unlock(&swap_lock);
|
||||
}
|
||||
EXPORT_SYMBOL_NS_GPL(si_swapinfo, MINIDUMP);
|
||||
|
||||
/*
|
||||
* Verify that a swap entry is valid and increment its swap map count.
|
||||
|
||||
Reference in New Issue
Block a user