mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
vmscan: change type of vm_total_pages to unsigned long
This variable is calculated from nr_free_pagecache_pages so change its type to unsigned long. Signed-off-by: Zhang Yanfei <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
697ce9be7d
commit
b21e0b90cc
2 changed files with 2 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ struct scan_control {
|
|||
* From 0 .. 100. Higher means more swappy.
|
||||
*/
|
||||
int vm_swappiness = 60;
|
||||
long vm_total_pages; /* The total number of pages which the VM controls */
|
||||
unsigned long vm_total_pages; /* The total number of pages which the VM controls */
|
||||
|
||||
static LIST_HEAD(shrinker_list);
|
||||
static DECLARE_RWSEM(shrinker_rwsem);
|
||||
|
|
|
|||
Loading…
Reference in a new issue