Title: [8700] trunk/arch/blackfin/mm/sram-alloc.c: bfin: use atomic alloc in l1 alloc so it too can be atomic
- Revision
- 8700
- Author
- vapier
- Date
- 2010-05-11 00:43:19 -0400 (Tue, 11 May 2010)
Log Message
bfin: use atomic alloc in l1 alloc so it too can be atomic
Modified Paths
Diff
Modified: trunk/arch/blackfin/mm/sram-alloc.c (8699 => 8700)
--- trunk/arch/blackfin/mm/sram-alloc.c 2010-05-11 03:38:34 UTC (rev 8699)
+++ trunk/arch/blackfin/mm/sram-alloc.c 2010-05-11 04:43:19 UTC (rev 8700)
@@ -255,7 +255,8 @@
plast->next = pslot->next;
pavail = pslot;
} else {
- pavail = kmem_cache_alloc(sram_piece_cache, GFP_KERNEL);
+ /* use atomic so our L1 allocator can be used atomically */
+ pavail = kmem_cache_alloc(sram_piece_cache, GFP_ATOMIC);
if (!pavail)
return NULL;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits