Skip to contentSkip to conversation

sparc: NMI: Remove obsolete comment

PATCH In review Manuel Ebner 3 participants 3 messages Sep 2 – Oct 8 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 sparc: NMI: Remove obsolete comment

OProfile has been discontinued as of commit 24880bef417f ("oprofile-removal")

---
Bhaskar Chowdhury review doesn't show up in the mailing list, but I got it.

[v2]
fixed referenced commit
+ Suggested-by
+ Reviewed-by

[v1]
https://lore.kernel.org/all/[email protected]/

prior discussion
https://lore.kernel.org/all/[email protected]/

---
 arch/sparc/kernel/nmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/kernel/nmi.c +1 -1
index 149adc094..1571d6298 100644
@@ -41,7 +41,7 @@ static int panic_on_timeout;
  * <0: the NMI watchdog has not been set up, and cannot be enabled
  *  0: the NMI watchdog is disabled, but can be enabled
  */
-atomic_t nmi_active = ATOMIC_INIT(0);		/* oprofile uses this */
+atomic_t nmi_active = ATOMIC_INIT(0);
 EXPORT_SYMBOL(nmi_active);
 static int nmi_init_done;
 static unsigned int nmi_hz = HZ;
Signature · 1 line
2.54.0
Acked-by on v2 1/1
#1 lore raw
Quoted 5 lines · Manuel Ebner

OProfile has been discontinued as of commit 24880bef417f ("oprofile-removal")

Thanks.

Quoted 30 lines

---
Bhaskar Chowdhury review doesn't show up in the mailing list, but I got it.

[v2]
fixed referenced commit
+ Suggested-by
+ Reviewed-by

[v1]
https://lore.kernel.org/all/[email protected]/

prior discussion
https://lore.kernel.org/all/[email protected]/

---
 arch/sparc/kernel/nmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/kernel/nmi.c +1 -1
index 149adc094..1571d6298 100644
@@ -41,7 +41,7 @@ static int panic_on_timeout;
  * <0: the NMI watchdog has not been set up, and cannot be enabled
  *  0: the NMI watchdog is disabled, but can be enabled
  */
-atomic_t nmi_active = ATOMIC_INIT(0);		/* oprofile uses this */
+atomic_t nmi_active = ATOMIC_INIT(0);
 EXPORT_SYMBOL(nmi_active);
 static int nmi_init_done;
 static unsigned int nmi_hz = HZ;
Signature · 1 line
~Randy
maintainer Reviewed-by on v2 1/1
#2 lore raw
In reply to Manuel Ebner
Quoted 27 lines · Manuel Ebner

OProfile has been discontinued as of commit 24880bef417f ("oprofile-removal")

---
Bhaskar Chowdhury review doesn't show up in the mailing list, but I got it.

[v2]
fixed referenced commit
+ Suggested-by
+ Reviewed-by

[v1]
https://lore.kernel.org/all/[email protected]/

prior discussion
https://lore.kernel.org/all/[email protected]/

---
 arch/sparc/kernel/nmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sparc/kernel/nmi.c +0 -0
index 149adc094..1571d6298 100644

arch/sparc/kernel/nmi.c static int panic_on_timeout; · line 47

Quoted 8 lines
arch/sparc/kernel/nmi.c +1 -1
@@ -41,7 +41,7 @@ static int panic_on_timeout;
  * <0: the NMI watchdog has not been set up, and cannot be enabled
  *  0: the NMI watchdog is disabled, but can be enabled
  */
-atomic_t nmi_active = ATOMIC_INIT(0);		/* oprofile uses this */
+atomic_t nmi_active = ATOMIC_INIT(0);
 EXPORT_SYMBOL(nmi_active);
 static int nmi_init_done;
 static unsigned int nmi_hz = HZ;

Picking this up to my for-next.

Thanks,
Andreas