mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] Drop __get_zone_counts()
Values are readily available via ZVC per node and global sums. Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9195481d2f
commit
05a0416be2
4 changed files with 4 additions and 23 deletions
|
|
@ -13,14 +13,6 @@
|
|||
#include <linux/module.h>
|
||||
#include <linux/cpu.h>
|
||||
|
||||
void __get_zone_counts(unsigned long *active, unsigned long *inactive,
|
||||
unsigned long *free, struct pglist_data *pgdat)
|
||||
{
|
||||
*active = node_page_state(pgdat->node_id, NR_ACTIVE);
|
||||
*inactive = node_page_state(pgdat->node_id, NR_INACTIVE);
|
||||
*free = node_page_state(pgdat->node_id, NR_FREE_PAGES);
|
||||
}
|
||||
|
||||
void get_zone_counts(unsigned long *active,
|
||||
unsigned long *inactive, unsigned long *free)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue