diff options
Diffstat (limited to 'fs/proc/uptime.c')
| -rw-r--r-- | fs/proc/uptime.c | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/proc/uptime.c b/fs/proc/uptime.c index deb99bc9b7e6..b5343d209381 100644 --- a/fs/proc/uptime.c +++ b/fs/proc/uptime.c @@ -7,6 +7,7 @@  #include <linux/time.h>  #include <linux/time_namespace.h>  #include <linux/kernel_stat.h> +#include "internal.h"  static int uptime_proc_show(struct seq_file *m, void *v)  { @@ -39,7 +40,10 @@ static int uptime_proc_show(struct seq_file *m, void *v)  static int __init proc_uptime_init(void)  { -	proc_create_single("uptime", 0, NULL, uptime_proc_show); +	struct proc_dir_entry *pde; + +	pde = proc_create_single("uptime", 0, NULL, uptime_proc_show); +	pde_make_permanent(pde);  	return 0;  }  fs_initcall(proc_uptime_init);  |