mirror of
https://github.com/dynup/kpatch
synced 2025-01-04 20:19:36 +00:00
abe04af23a
It currently hits CSWTITCH issue from https://github.com/dynup/kpatch/issues/876 Signed-off-by: Artem Savkov <asavkov@redhat.com>
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
Disabled due to CSWTITCH issue from https://github.com/dynup/kpatch/issues/876
|
|
---
|
|
diff -Nupr src.orig/fs/proc/cmdline.c src/fs/proc/cmdline.c
|
|
--- src.orig/fs/proc/cmdline.c 2017-09-22 15:27:21.698056175 -0400
|
|
+++ src/fs/proc/cmdline.c 2017-09-22 15:27:37.842123028 -0400
|
|
@@ -5,7 +5,7 @@
|
|
|
|
static int cmdline_proc_show(struct seq_file *m, void *v)
|
|
{
|
|
- seq_printf(m, "%s\n", saved_command_line);
|
|
+ seq_printf(m, "%s kpatch=1\n", saved_command_line);
|
|
return 0;
|
|
}
|
|
|
|
diff -Nupr src.orig/fs/proc/meminfo.c src/fs/proc/meminfo.c
|
|
--- src.orig/fs/proc/meminfo.c 2017-09-22 15:27:21.699056179 -0400
|
|
+++ src/fs/proc/meminfo.c 2017-09-22 15:27:37.843123032 -0400
|
|
@@ -99,7 +99,7 @@ static int meminfo_proc_show(struct seq_
|
|
"Committed_AS: %8lu kB\n"
|
|
"VmallocTotal: %8lu kB\n"
|
|
"VmallocUsed: %8lu kB\n"
|
|
- "VmallocChunk: %8lu kB\n"
|
|
+ "VMALLOCCHUNK: %8lu kB\n"
|
|
#ifdef CONFIG_MEMORY_FAILURE
|
|
"HardwareCorrupted: %5lu kB\n"
|
|
#endif
|
|
diff -Nupr src.orig/include/linux/kernel.h src/include/linux/kernel.h
|
|
--- src.orig/include/linux/kernel.h 2017-09-22 15:27:20.379050713 -0400
|
|
+++ src/include/linux/kernel.h 2017-09-22 15:27:37.843123032 -0400
|
|
@@ -2,6 +2,7 @@
|
|
#define _LINUX_KERNEL_H
|
|
|
|
|
|
+
|
|
#include <stdarg.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/stddef.h>
|