kpatch/test/integration/rhel-7.6/tracepoints-section.patch
Artem Savkov 76ebcd2fa4 test/integration: add patches rebased for recent rhel minor releases
This commit contains centos-7 patches rebased and adjusted to work with
recent rhel minors so that integration tests actually pass on those.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2019-06-14 10:53:57 +02:00

15 lines
455 B
Diff

Index: kernel-rhel7/kernel/timer.c
===================================================================
--- kernel-rhel7.orig/kernel/timer.c
+++ kernel-rhel7/kernel/timer.c
@@ -1454,6 +1454,9 @@ static void run_timer_softirq(struct sof
{
struct tvec_base *base = __this_cpu_read(tvec_bases);
+ if (!base)
+ printk("kpatch-test: testing __tracepoints section changes\n");
+
if (time_after_eq(jiffies, base->timer_jiffies))
__run_timers(base);
}