diff options
Diffstat (limited to 'init/do_mounts_rd.c')
-rw-r--r-- | init/do_mounts_rd.c | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index 470a328d1454..fedef93b586f 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c | |||
@@ -303,32 +303,11 @@ static int crd_infd, crd_outfd; | |||
303 | 303 | ||
304 | static int __init fill_inbuf(void); | 304 | static int __init fill_inbuf(void); |
305 | static void __init flush_window(void); | 305 | static void __init flush_window(void); |
306 | static void __init *malloc(size_t size); | ||
307 | static void __init free(void *where); | ||
308 | static void __init error(char *m); | 306 | static void __init error(char *m); |
309 | static void __init gzip_mark(void **); | ||
310 | static void __init gzip_release(void **); | ||
311 | 307 | ||
312 | #include "../lib/inflate.c" | 308 | #define NO_INFLATE_MALLOC |
313 | |||
314 | static void __init *malloc(size_t size) | ||
315 | { | ||
316 | return kmalloc(size, GFP_KERNEL); | ||
317 | } | ||
318 | |||
319 | static void __init free(void *where) | ||
320 | { | ||
321 | kfree(where); | ||
322 | } | ||
323 | |||
324 | static void __init gzip_mark(void **ptr) | ||
325 | { | ||
326 | } | ||
327 | |||
328 | static void __init gzip_release(void **ptr) | ||
329 | { | ||
330 | } | ||
331 | 309 | ||
310 | #include "../lib/inflate.c" | ||
332 | 311 | ||
333 | /* =========================================================================== | 312 | /* =========================================================================== |
334 | * Fill the input buffer. This is called only when the buffer is empty | 313 | * Fill the input buffer. This is called only when the buffer is empty |