Skip to content

Commit 501dacb

Browse files
committed
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull core fixes from Thomas Gleixner: "A small set of updates for core code: - Prevent tracing in functions which are called from trace patching via stop_machine() to prevent executing half patched function trace entries. - Remove old GCC workarounds - Remove pointless includes of notifier.h" * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: objtool: Remove workaround for unreachable warnings from old GCC notifier: Remove notifier header file wherever not used watchdog: Mark watchdog touch functions as notrace
2 parents 360bd62 + 113fc08 commit 501dacb

File tree

11 files changed

+4
-13
lines changed

11 files changed

+4
-13
lines changed

fs/buffer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include <linux/buffer_head.h>
4040
#include <linux/task_io_accounting_ops.h>
4141
#include <linux/bio.h>
42-
#include <linux/notifier.h>
4342
#include <linux/cpu.h>
4443
#include <linux/bitops.h>
4544
#include <linux/mpage.h>

kernel/printk/printk.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include <linux/kmsg_dump.h>
3939
#include <linux/syslog.h>
4040
#include <linux/cpu.h>
41-
#include <linux/notifier.h>
4241
#include <linux/rculist.h>
4342
#include <linux/poll.h>
4443
#include <linux/irq_work.h>

kernel/watchdog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static void __touch_watchdog(void)
261261
* entering idle state. This should only be used for scheduler events.
262262
* Use touch_softlockup_watchdog() for everything else.
263263
*/
264-
void touch_softlockup_watchdog_sched(void)
264+
notrace void touch_softlockup_watchdog_sched(void)
265265
{
266266
/*
267267
* Preemption can be enabled. It doesn't matter which CPU's timestamp
@@ -270,7 +270,7 @@ void touch_softlockup_watchdog_sched(void)
270270
raw_cpu_write(watchdog_touch_ts, 0);
271271
}
272272

273-
void touch_softlockup_watchdog(void)
273+
notrace void touch_softlockup_watchdog(void)
274274
{
275275
touch_softlockup_watchdog_sched();
276276
wq_watchdog_touch(raw_smp_processor_id());

kernel/watchdog_hld.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static struct cpumask dead_events_mask;
2929
static unsigned long hardlockup_allcpu_dumped;
3030
static atomic_t watchdog_cpus = ATOMIC_INIT(0);
3131

32-
void arch_touch_nmi_watchdog(void)
32+
notrace void arch_touch_nmi_watchdog(void)
3333
{
3434
/*
3535
* Using __raw here because some code paths have

kernel/workqueue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5574,7 +5574,7 @@ static void wq_watchdog_timer_fn(struct timer_list *unused)
55745574
mod_timer(&wq_watchdog_timer, jiffies + thresh);
55755575
}
55765576

5577-
void wq_watchdog_touch(int cpu)
5577+
notrace void wq_watchdog_touch(int cpu)
55785578
{
55795579
if (cpu >= 0)
55805580
per_cpu(wq_watchdog_touched_cpu, cpu) = jiffies;

lib/percpu_counter.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55

66
#include <linux/percpu_counter.h>
7-
#include <linux/notifier.h>
87
#include <linux/mutex.h>
98
#include <linux/init.h>
109
#include <linux/cpu.h>

mm/page-writeback.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include <linux/mpage.h>
2828
#include <linux/rmap.h>
2929
#include <linux/percpu.h>
30-
#include <linux/notifier.h>
3130
#include <linux/smp.h>
3231
#include <linux/sysctl.h>
3332
#include <linux/cpu.h>

mm/page_alloc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include <linux/slab.h>
3333
#include <linux/ratelimit.h>
3434
#include <linux/oom.h>
35-
#include <linux/notifier.h>
3635
#include <linux/topology.h>
3736
#include <linux/sysctl.h>
3837
#include <linux/cpu.h>

mm/slub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include <linux/slab.h>
2020
#include "slab.h"
2121
#include <linux/proc_fs.h>
22-
#include <linux/notifier.h>
2322
#include <linux/seq_file.h>
2423
#include <linux/kasan.h>
2524
#include <linux/cpu.h>

net/core/dev.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
#include <linux/netdevice.h>
9494
#include <linux/etherdevice.h>
9595
#include <linux/ethtool.h>
96-
#include <linux/notifier.h>
9796
#include <linux/skbuff.h>
9897
#include <linux/bpf.h>
9998
#include <linux/bpf_trace.h>

scripts/Makefile.build

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,6 @@ objtool_args += --no-fp
246246
endif
247247
ifdef CONFIG_GCOV_KERNEL
248248
objtool_args += --no-unreachable
249-
else
250-
objtool_args += $(call cc-ifversion, -lt, 0405, --no-unreachable)
251249
endif
252250
ifdef CONFIG_RETPOLINE
253251
ifneq ($(RETPOLINE_CFLAGS),)

0 commit comments

Comments
 (0)