Fix function return type
Test: TreeHugger
Bug: 162993824
Change-Id: I2336a0c2bf3f71cc0b0bc1ef491a1043e88f359e
Merged-In: I2336a0c2bf3f71cc0b0bc1ef491a1043e88f359e
(cherry picked from commit c74d7163b0)
This commit is contained in:
committed by
Edgar Arriaga García
parent
58b9a4e48e
commit
33d192d243
@@ -123,7 +123,7 @@ static int getAnonPageAdvice(const Vma& vma) {
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
static bool getAnyPageAdvice(const Vma& vma) {
|
||||
static int getAnyPageAdvice(const Vma& vma) {
|
||||
if (vma.inode == 0 && !vma.is_shared) {
|
||||
return MADV_PAGEOUT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user