Skip to contentSkip to conversation

+ nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 29, 2014 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

Subject: + nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 29 Apr 2014 15:04:32 -0700

The patch titled
Subject: nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix
has been added to the -mm tree. Its filename is
nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Stephen Rothwell <[email protected]>
Subject: nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix

undo C99ism

Cc Aaron Tomlin <[email protected]>
Cc Don Zickus <[email protected]>
Cc David S. Miller <[email protected]>
Cc Mateusz Guzik <[email protected]>
Cc Oleg Nesterov <[email protected]>

---

 arch/sparc/kernel/process_64.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
arch/sparc/kernel/process_64.c renamed from arch/sparc/kernel/process_64.c~nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix +3 -1
diff -puN arch/sparc/kernel/process_64.c~nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix arch/sparc/kernel/process_64.c
@@ -261,10 +261,12 @@ void arch_trigger_all_cpu_backtrace(bool
 	smp_fetch_global_regs();
 
 	for_each_online_cpu(cpu) {
+		struct global_reg_snapshot *gp;
+
 		if (!include_self && cpu == this_cpu)
 			continue;
 
-		struct global_reg_snapshot *gp = &global_cpu_snapshot[cpu].reg;
+		gp = &global_cpu_snapshot[cpu].reg;
 
 		__global_reg_poll(gp);
 

_

Patches currently in -mm which might be from [email protected] are

nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix.patch mm-get-rid-of-__gfp_kmemcg-fix.patch lib-scatterlist-make-arch_has_sg_chain-an-actual-kconfig-fix-3.patch linux-next.patch
kernel-forkc-export-kernel_thread-to-modules.patch