diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-17 13:07:48 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-17 13:07:48 +0100 |
commit | 1f3f424a6bee9de4d839be9951f4296333fac014 (patch) | |
tree | 95de90dfdb4a9f64fe470709b82176243537c952 /mm | |
parent | c8cae544bba6aee0f5cb0756dbab1a71d2c68737 (diff) | |
parent | 1bda71282ded6a2e09a2db7c8884542fb46bfd4f (diff) | |
download | op-kernel-dev-1f3f424a6bee9de4d839be9951f4296333fac014.zip op-kernel-dev-1f3f424a6bee9de4d839be9951f4296333fac014.tar.gz |
Merge branch 'linus' into cpus4096
Diffstat (limited to 'mm')
-rw-r--r-- | mm/migrate.c | 2 | ||||
-rw-r--r-- | mm/slob.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index d8f0766..037b096 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -998,7 +998,7 @@ static void do_pages_stat_array(struct mm_struct *mm, unsigned long nr_pages, unsigned long addr = (unsigned long)(*pages); struct vm_area_struct *vma; struct page *page; - int err; + int err = -EFAULT; vma = find_vma(mm, addr); if (!vma) @@ -535,7 +535,7 @@ struct kmem_cache *kmem_cache_create(const char *name, size_t size, struct kmem_cache *c; c = slob_alloc(sizeof(struct kmem_cache), - flags, ARCH_KMALLOC_MINALIGN, -1); + GFP_KERNEL, ARCH_KMALLOC_MINALIGN, -1); if (c) { c->name = name; |