diff options
| author | James Morris <jmorris@namei.org> | 2010-05-06 10:56:07 +1000 | 
|---|---|---|
| committer | James Morris <jmorris@namei.org> | 2010-05-06 10:56:07 +1000 | 
| commit | 0ffbe2699cda6afbe08501098dff8a8c2fe6ae09 (patch) | |
| tree | 81b1a2305d16c873371b65c5a863c0268036cefe /mm/memory.c | |
| parent | 4e5d6f7ec3833c0da9cf34fa5c53c6058c5908b6 (diff) | |
| parent | 7ebd467551ed6ae200d7835a84bbda0dcadaa511 (diff) | |
| download | olio-linux-3.10-0ffbe2699cda6afbe08501098dff8a8c2fe6ae09.tar.xz olio-linux-3.10-0ffbe2699cda6afbe08501098dff8a8c2fe6ae09.zip  | |
Merge branch 'master' into next
Diffstat (limited to 'mm/memory.c')
| -rw-r--r-- | mm/memory.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c index bc9ba5a1f5b..833952d8b74 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -56,6 +56,7 @@  #include <linux/kallsyms.h>  #include <linux/swapops.h>  #include <linux/elf.h> +#include <linux/gfp.h>  #include <asm/io.h>  #include <asm/pgalloc.h> @@ -124,13 +125,12 @@ core_initcall(init_zero_pfn);  #if defined(SPLIT_RSS_COUNTING) -void __sync_task_rss_stat(struct task_struct *task, struct mm_struct *mm) +static void __sync_task_rss_stat(struct task_struct *task, struct mm_struct *mm)  {  	int i;  	for (i = 0; i < NR_MM_COUNTERS; i++) {  		if (task->rss_stat.count[i]) { -			BUG_ON(!mm);  			add_mm_counter(mm, i, task->rss_stat.count[i]);  			task->rss_stat.count[i] = 0;  		}  |