diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2012-12-17 15:59:24 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:12 -0800 |
commit | b3dd20709db2cab0da0ade1f246fd6e6ab1396eb (patch) | |
tree | f0115494a35ec2179471c8aa87262ef4b9b9da1c /mm | |
parent | d7124073add4cd04508f9ae3adc2746c61d7e78b (diff) | |
download | kernel_goldelico_gta04-b3dd20709db2cab0da0ade1f246fd6e6ab1396eb.zip kernel_goldelico_gta04-b3dd20709db2cab0da0ade1f246fd6e6ab1396eb.tar.gz kernel_goldelico_gta04-b3dd20709db2cab0da0ade1f246fd6e6ab1396eb.tar.bz2 |
mm/memory.c: suppress warning
gcc-4.4.4 screws this up.
mm/memory.c: In function 'do_pmd_numa_page':
mm/memory.c:3594: warning: no return statement in function returning non-void
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/memory.c b/mm/memory.c index e6a3b93..23f1fdf 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3590,6 +3590,7 @@ static int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long addr, pmd_t *pmdp) { BUG(); + return 0; } #endif /* CONFIG_NUMA_BALANCING */ |