kpatch/test/integration/centos-7/parainstructions-section.patch
Joe Lawrence 2f8170e962 testing: rebase patches for CentOS 7.4 kernel-3.10.0-693.el7
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
2017-09-22 17:02:33 -04:00

12 lines
429 B
Diff

diff -Nupr src.orig/fs/proc/generic.c src/fs/proc/generic.c
--- src.orig/fs/proc/generic.c 2017-09-22 15:27:21.698056175 -0400
+++ src/fs/proc/generic.c 2017-09-22 15:27:48.190165879 -0400
@@ -194,6 +194,7 @@ int proc_alloc_inum(unsigned int *inum)
unsigned int i;
int error;
+ printk("kpatch-test: testing change to .parainstructions section\n");
retry:
if (!ida_pre_get(&proc_inum_ida, GFP_KERNEL))
return -ENOMEM;