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
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
#include <linux/kmsg_dump.h>
|
||||
#include <linux/syslog.h>
|
||||
#include <linux/cpu.h>
|
||||
#include <linux/notifier.h>
|
||||
#include <linux/rculist.h>
|
||||
#include <linux/poll.h>
|
||||
#include <linux/irq_work.h>
|
||||
|
||||
+2
-2
@@ -261,7 +261,7 @@ static void __touch_watchdog(void)
|
||||
* entering idle state. This should only be used for scheduler events.
|
||||
* Use touch_softlockup_watchdog() for everything else.
|
||||
*/
|
||||
void touch_softlockup_watchdog_sched(void)
|
||||
notrace void touch_softlockup_watchdog_sched(void)
|
||||
{
|
||||
/*
|
||||
* Preemption can be enabled. It doesn't matter which CPU's timestamp
|
||||
@@ -270,7 +270,7 @@ void touch_softlockup_watchdog_sched(void)
|
||||
raw_cpu_write(watchdog_touch_ts, 0);
|
||||
}
|
||||
|
||||
void touch_softlockup_watchdog(void)
|
||||
notrace void touch_softlockup_watchdog(void)
|
||||
{
|
||||
touch_softlockup_watchdog_sched();
|
||||
wq_watchdog_touch(raw_smp_processor_id());
|
||||
|
||||
@@ -29,7 +29,7 @@ static struct cpumask dead_events_mask;
|
||||
static unsigned long hardlockup_allcpu_dumped;
|
||||
static atomic_t watchdog_cpus = ATOMIC_INIT(0);
|
||||
|
||||
void arch_touch_nmi_watchdog(void)
|
||||
notrace void arch_touch_nmi_watchdog(void)
|
||||
{
|
||||
/*
|
||||
* Using __raw here because some code paths have
|
||||
|
||||
+1
-1
@@ -5574,7 +5574,7 @@ static void wq_watchdog_timer_fn(struct timer_list *unused)
|
||||
mod_timer(&wq_watchdog_timer, jiffies + thresh);
|
||||
}
|
||||
|
||||
void wq_watchdog_touch(int cpu)
|
||||
notrace void wq_watchdog_touch(int cpu)
|
||||
{
|
||||
if (cpu >= 0)
|
||||
per_cpu(wq_watchdog_touched_cpu, cpu) = jiffies;
|
||||
|
||||
Reference in New Issue
Block a user