Title: [8507] trunk/mm/nommu.c: Return NULL instead of panic() in pcpu_get_vm_areas()
- Revision
- 8507
- Author
- gyang
- Date
- 2010-03-18 23:13:24 -0400 (Thu, 18 Mar 2010)
Log Message
Return NULL instead of panic() in pcpu_get_vm_areas()
Modified Paths
Diff
Modified: trunk/mm/nommu.c (8506 => 8507)
--- trunk/mm/nommu.c 2010-03-18 12:51:49 UTC (rev 8506)
+++ trunk/mm/nommu.c 2010-03-19 03:13:24 UTC (rev 8507)
@@ -2007,7 +2007,8 @@
const size_t *sizes, int nr_vms,
size_t align, gfp_t gfp_mask)
{
- panic("Cannot get vmalloc areas from blackfin SMP kernel\n");
+ pr_warning("Cannot get vmalloc areas from blackfin SMP kernel\n");
+ return NULL;
}
void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits