Title: [8501] trunk/mm/nommu.c: Reject the dynamic percpu area allocation for now
- Revision
- 8501
- Author
- gyang
- Date
- 2010-03-18 06:24:33 -0400 (Thu, 18 Mar 2010)
Log Message
Reject the dynamic percpu area allocation for now
Modified Paths
Diff
Modified: trunk/mm/nommu.c (8500 => 8501)
--- trunk/mm/nommu.c 2010-03-18 09:14:59 UTC (rev 8500)
+++ trunk/mm/nommu.c 2010-03-18 10:24:33 UTC (rev 8501)
@@ -1993,6 +1993,7 @@
return 0;
}
+#ifdef CONFIG_SMP
int map_kernel_range_noflush(unsigned long addr, unsigned long size,
pgprot_t prot, struct page **pages)
{
@@ -2006,8 +2007,10 @@
const size_t *sizes, int nr_vms,
size_t align, gfp_t gfp_mask)
{
+ panic("Cannot get vmalloc areas from blackfin SMP kernel\n");
}
void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
{
}
+#endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits