mirror of
https://github.com/dynup/kpatch
synced 2024-12-15 01:44:32 +00:00
21 lines
511 B
Diff
21 lines
511 B
Diff
Index: src/fs/proc/meminfo.c
|
|
===================================================================
|
|
--- src.orig/fs/proc/meminfo.c
|
|
+++ src/fs/proc/meminfo.c
|
|
@@ -29,6 +29,7 @@ static int meminfo_proc_show(struct seq_
|
|
unsigned long pages[NR_LRU_LISTS];
|
|
int lru;
|
|
|
|
+ printk("a\n");
|
|
/*
|
|
* display in kilobytes.
|
|
*/
|
|
@@ -180,6 +181,7 @@ static const struct file_operations memi
|
|
|
|
static int __init proc_meminfo_init(void)
|
|
{
|
|
+ printk("a\n");
|
|
proc_create("meminfo", 0, NULL, &meminfo_proc_fops);
|
|
return 0;
|
|
}
|