kpatch/test/integration/parainstructions-section.patch

13 lines
394 B
Diff

Index: src/fs/proc/generic.c
===================================================================
--- src.orig/fs/proc/generic.c
+++ src/fs/proc/generic.c
@@ -132,6 +132,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;