Release 4.7 arch/powerpc/lib/alloc.c
#include <linux/types.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/bootmem.h>
#include <linux/string.h>
#include <asm/setup.h>
void * __init_refok zalloc_maybe_bootmem(size_t size, gfp_t mask)
{
void *p;
if (slab_is_available())
p = kzalloc(size, mask);
else {
p = memblock_virt_alloc(size, 0);
}
return p;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| stephen rothwell | stephen rothwell | 43 | 93.48% | 1 | 33.33% |
| michael ellerman | michael ellerman | 3 | 6.52% | 2 | 66.67% |
| Total | 46 | 100.00% | 3 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| stephen rothwell | stephen rothwell | 60 | 93.75% | 2 | 40.00% |
| michael ellerman | michael ellerman | 3 | 4.69% | 2 | 40.00% |
| david howells | david howells | 1 | 1.56% | 1 | 20.00% |
| Total | 64 | 100.00% | 5 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.