[uClinux-dev] [PATCH][m68knommu] nommu bad allocation

2008-11-19 Thread Jate Sujjavanich
I am proposing the following patch in mmnommu/mmap.c in 2.4: ret = -ENOMEM; result = kmalloc(len, GFP_KERNEL); if (!result) { - printk("Allocation of length %lu from process %d failed\n", - len, current->pid); + printk("Alloc

Re: [uClinux-dev] [PATCH][m68knommu] nommu bad allocation

2009-01-12 Thread Greg Ungerer
Hi Jate, Jate Sujjavanich wrote: I am proposing the following patch in mmnommu/mmap.c in 2.4: ret = -ENOMEM; result = kmalloc(len, GFP_KERNEL); if (!result) { - printk("Allocation of length %lu from process %d failed\n", - len, current-