2018-11-30 13:59:58 +00:00
|
|
|
Disabled due to https://github.com/dynup/kpatch/issues/767
|
|
|
|
---
|
2018-11-30 13:36:25 +00:00
|
|
|
Index: src/fs/proc/cmdline.c
|
|
|
|
===================================================================
|
|
|
|
--- src.orig/fs/proc/cmdline.c
|
|
|
|
+++ src/fs/proc/cmdline.c
|
|
|
|
@@ -7,7 +7,7 @@
|
2014-05-05 20:15:52 +00:00
|
|
|
static int cmdline_proc_show(struct seq_file *m, void *v)
|
|
|
|
{
|
2018-11-30 13:36:25 +00:00
|
|
|
seq_puts(m, saved_command_line);
|
|
|
|
- seq_putc(m, '\n');
|
|
|
|
+ seq_puts(m, " kpatch=1\n");
|
2014-05-05 20:15:52 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2018-11-30 13:36:25 +00:00
|
|
|
Index: src/fs/proc/meminfo.c
|
|
|
|
===================================================================
|
|
|
|
--- src.orig/fs/proc/meminfo.c
|
|
|
|
+++ src/fs/proc/meminfo.c
|
|
|
|
@@ -120,7 +120,7 @@ static int meminfo_proc_show(struct seq_
|
2017-02-08 22:14:32 +00:00
|
|
|
seq_printf(m, "VmallocTotal: %8lu kB\n",
|
|
|
|
(unsigned long)VMALLOC_TOTAL >> 10);
|
|
|
|
show_val_kb(m, "VmallocUsed: ", 0ul);
|
|
|
|
- show_val_kb(m, "VmallocChunk: ", 0ul);
|
|
|
|
+ show_val_kb(m, "VMALLOCCHUNK: ", 0ul);
|
|
|
|
|
2014-05-05 20:15:52 +00:00
|
|
|
#ifdef CONFIG_MEMORY_FAILURE
|
2017-02-08 22:14:32 +00:00
|
|
|
seq_printf(m, "HardwareCorrupted: %5lu kB\n",
|
2018-11-30 13:36:25 +00:00
|
|
|
Index: src/include/linux/kernel.h
|
|
|
|
===================================================================
|
|
|
|
--- src.orig/include/linux/kernel.h
|
|
|
|
+++ src/include/linux/kernel.h
|
|
|
|
@@ -3,6 +3,7 @@
|
2014-09-15 13:20:43 +00:00
|
|
|
#define _LINUX_KERNEL_H
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <linux/stddef.h>
|