kpatch/test/integration/ubuntu-16.04/gcc-isra.patch

12 lines
428 B
Diff

diff -Nupr src.orig/fs/proc/proc_sysctl.c src/fs/proc/proc_sysctl.c
--- src.orig/fs/proc/proc_sysctl.c 2016-12-15 19:55:39.084000000 +0000
+++ src/fs/proc/proc_sysctl.c 2016-12-15 19:56:34.800000000 +0000
@@ -46,6 +46,7 @@ void proc_sys_poll_notify(struct ctl_tab
if (!poll)
return;
+ printk("kpatch-test: testing gcc .isra function name mangling\n");
atomic_inc(&poll->event);
wake_up_interruptible(&poll->wait);
}