This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / fs / proc / kcore.c
index ee1b56b..7f6d1d3 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/elfcore.h>
 #include <linux/vmalloc.h>
 #include <linux/highmem.h>
-#include <linux/init.h>
 #include <asm/uaccess.h>
 #include <asm/io.h>
 
@@ -82,9 +81,11 @@ kclist_del(void *addr)
                }
        }
        write_unlock(&kclist_lock);
-       return NULL;
+       return 0;
 }
 
+extern char saved_command_line[];
+
 static size_t get_kcore_size(int *nphdr, size_t *elf_buflen)
 {
        size_t try, size;