mirror of https://github.com/dynup/kpatch
14 lines
529 B
Diff
14 lines
529 B
Diff
diff -Nupr src.orig/kernel/time/timer.c src/kernel/time/timer.c
|
|
--- src.orig/kernel/time/timer.c 2022-04-29 16:08:21.581781162 -0400
|
|
+++ src/kernel/time/timer.c 2022-04-29 16:09:24.914006540 -0400
|
|
@@ -1747,6 +1747,9 @@ static __latent_entropy void run_timer_s
|
|
{
|
|
struct timer_base *base = this_cpu_ptr(&timer_bases[BASE_STD]);
|
|
|
|
+ if (!base)
|
|
+ printk("kpatch-test: testing __tracepoints section changes\n");
|
|
+
|
|
__run_timers(base);
|
|
if (IS_ENABLED(CONFIG_NO_HZ_COMMON))
|
|
__run_timers(this_cpu_ptr(&timer_bases[BASE_DEF]));
|