History

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

Linus Torvalds committed 8 years ago

Commit 501dacb2 parents 360bd62 113fc0811 files · +4 −13Browse files

Unified · Split

11 files
  1. fs/buffer.c +0 −1
  2. kernel/printk/printk.c +0 −1
  3. kernel/watchdog.c +2 −2
  4. kernel/watchdog_hld.c +1 −1
  5. kernel/workqueue.c +1 −1
  6. lib/percpu_counter.c +0 −1
  7. mm/page-writeback.c +0 −1
  8. mm/page_alloc.c +0 −1
  9. mm/slub.c +0 −1
  10. net/core/dev.c +0 −1
  11. scripts/Makefile.build +0 −2
fs/buffer.c+0−1
@@ -39,7 +39,6 @@ · 38 unmodified lines
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+0−1
@@ -38,7 +38,6 @@ · 37 unmodified lines
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+2−2
@@ -261,7 +261,7 @@ static void __touch_watchdog(void) · 260 unmodified lines
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) · 2 unmodified lines
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+1−1
@@ -29,7 +29,7 @@ static struct cpumask dead_events_mask; · 28 unmodified lines
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+1−1
@@ -5574,7 +5574,7 @@ static void wq_watchdog_timer_fn(struct timer_list *unused) · 5573 unmodified lines
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+0−1
@@ -4,7 +4,6 @@ · 3 unmodified lines
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+0−1
@@ -27,7 +27,6 @@ · 26 unmodified lines
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+0−1
@@ -32,7 +32,6 @@ · 31 unmodified lines
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+0−1
@@ -19,7 +19,6 @@ · 18 unmodified lines
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+0−1
@@ -93,7 +93,6 @@ · 92 unmodified lines
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+0−2
@@ -246,8 +246,6 @@ objtool_args += --no-fp · 245 unmodified lines
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),)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t