mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
ANDROID: mm: Export si_swapinfo
Export si_swapinfo symbol which is used as part of meminfo collection from minidump module. Bug: 176277894 Change-Id: I5dc1672ce649c22dc33d4a544ee5a38f8376becf Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
This commit is contained in:
parent
9cf2ceaffd
commit
5e07d2eb08
|
|
@ -3426,6 +3426,7 @@ void si_swapinfo(struct sysinfo *val)
|
|||
val->totalswap = total_swap_pages + nr_to_be_unused;
|
||||
spin_unlock(&swap_lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(si_swapinfo);
|
||||
|
||||
/*
|
||||
* Verify that a swap entry is valid and increment its swap map count.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user