summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/powerpc/lib/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/arch/powerpc/lib/alloc.c')
-rw-r--r--ANDROID_3.4.5/arch/powerpc/lib/alloc.c21
1 files changed, 0 insertions, 21 deletions
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 <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 (mem_init_done)
- p = kzalloc(size, mask);
- else {
- p = alloc_bootmem(size);
- if (p)
- memset(p, 0, size);
- }
- return p;
-}