mm/nommu.c: try to fix __vmalloc
Subsystems (2)
PATCH 1/1 mm/nommu.c: try to fix __vmalloc
Linus changed the second argument of __vmalloc from int to unsigned int breaking the compilation for CONFIG_MMU=n configurations (since he only changed vmalloc.c but not nommu.c).
Is this patch the correct fix, or do I oversee an underlying problem?
Signed-off-by Adrian Bunk <[email protected]>
mm/nommu.c renamed from mm/nommu.c.old +1 -1
@@ -146,7 +146,7 @@kfree (addr); } -void *__vmalloc (unsigned long size,int gfp_mask,pgprot_t prot) +void *__vmalloc (unsigned long size,unsigned int __nocast gfp_mask,pgprot_t prot) {/* * kmalloc doesn't like __GFP_HIGHMEM for some reason