From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- ANDROID_3.4.5/arch/powerpc/lib/alloc.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 ANDROID_3.4.5/arch/powerpc/lib/alloc.c (limited to 'ANDROID_3.4.5/arch/powerpc/lib/alloc.c') diff --git a/ANDROID_3.4.5/arch/powerpc/lib/alloc.c b/ANDROID_3.4.5/arch/powerpc/lib/alloc.c deleted file mode 100644 index da22c84a..00000000 --- a/ANDROID_3.4.5/arch/powerpc/lib/alloc.c +++ /dev/null @@ -1,21 +0,0 @@ -#include -#include -#include -#include -#include -#include - - -void * __init_refok zalloc_maybe_bootmem(size_t size, gfp_t mask) -{ - void *p; - - if (mem_init_done) - p = kzalloc(size, mask); - else { - p = alloc_bootmem(size); - if (p) - memset(p, 0, size); - } - return p; -} -- cgit