git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
fs
/
proc
/
kcore.c
diff --git
a/fs/proc/kcore.c
b/fs/proc/kcore.c
index
1f55db7
..
f7c0cda
100644
(file)
--- a/
fs/proc/kcore.c
+++ b/
fs/proc/kcore.c
@@
-18,6
+18,7
@@
#include <linux/elfcore.h>
#include <linux/vmalloc.h>
#include <linux/highmem.h>
#include <linux/elfcore.h>
#include <linux/vmalloc.h>
#include <linux/highmem.h>
+#include <linux/init.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/io.h>
@@
-81,11
+82,9
@@
kclist_del(void *addr)
}
}
write_unlock(&kclist_lock);
}
}
write_unlock(&kclist_lock);
- return
0
;
+ return
NULL
;
}
}
-extern char saved_command_line[];
-
static size_t get_kcore_size(int *nphdr, size_t *elf_buflen)
{
size_t try, size;
static size_t get_kcore_size(int *nphdr, size_t *elf_buflen)
{
size_t try, size;