summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/page_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/page_counter.h')
-rw-r--r--kernel/include/linux/page_counter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/include/linux/page_counter.h b/kernel/include/linux/page_counter.h
index 17fa4f8de..7e62920a3 100644
--- a/kernel/include/linux/page_counter.h
+++ b/kernel/include/linux/page_counter.h
@@ -36,9 +36,9 @@ static inline unsigned long page_counter_read(struct page_counter *counter)
void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages);
void page_counter_charge(struct page_counter *counter, unsigned long nr_pages);
-int page_counter_try_charge(struct page_counter *counter,
- unsigned long nr_pages,
- struct page_counter **fail);
+bool page_counter_try_charge(struct page_counter *counter,
+ unsigned long nr_pages,
+ struct page_counter **fail);
void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages);
int page_counter_limit(struct page_counter *counter, unsigned long limit);
int page_counter_memparse(const char *buf, const char *max,