aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/kcore.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c
index f06f45b42181..0cf8a24cf6c3 100644
--- a/fs/proc/kcore.c
+++ b/fs/proc/kcore.c
@@ -374,9 +374,6 @@ read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos)
374static int __init proc_kcore_init(void) 374static int __init proc_kcore_init(void)
375{ 375{
376 proc_root_kcore = proc_create("kcore", S_IRUSR, NULL, &proc_kcore_operations); 376 proc_root_kcore = proc_create("kcore", S_IRUSR, NULL, &proc_kcore_operations);
377 if (proc_root_kcore)
378 proc_root_kcore->size =
379 (size_t)high_memory - PAGE_OFFSET + PAGE_SIZE;
380 return 0; 377 return 0;
381} 378}
382module_init(proc_kcore_init); 379module_init(proc_kcore_init);