* [PATCH] x86_64: nmi and irq counters are unsigned
@ 2008-05-02 23:44 Hiroshi Shimamoto
2008-05-03 21:07 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Hiroshi Shimamoto @ 2008-05-02 23:44 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin; +Cc: linux-kernel
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
__nmi_count, apic_timer_irqs and irq0_irqs are unsigned.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/nmi_64.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/nmi_64.c b/arch/x86/kernel/nmi_64.c
index 5a29ded..33cb8ec 100644
--- a/arch/x86/kernel/nmi_64.c
+++ b/arch/x86/kernel/nmi_64.c
@@ -79,7 +79,7 @@ static __init void nmi_cpu_busy(void *data)
int __init check_nmi_watchdog(void)
{
- int *prev_nmi_count;
+ unsigned int *prev_nmi_count;
int cpu;
if ((nmi_watchdog == NMI_NONE) || (nmi_watchdog == NMI_DISABLED))
@@ -316,7 +316,7 @@ EXPORT_SYMBOL(touch_nmi_watchdog);
notrace __kprobes int
nmi_watchdog_tick(struct pt_regs *regs, unsigned reason)
{
- int sum;
+ unsigned int sum;
int touched = 0;
int cpu = smp_processor_id();
int rc = 0;
--
1.5.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] x86_64: nmi and irq counters are unsigned
2008-05-02 23:44 [PATCH] x86_64: nmi and irq counters are unsigned Hiroshi Shimamoto
@ 2008-05-03 21:07 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2008-05-03 21:07 UTC (permalink / raw)
To: Hiroshi Shimamoto; +Cc: Ingo Molnar, H. Peter Anvin, linux-kernel
On Fri, 2 May 2008, Hiroshi Shimamoto wrote:
> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>
> __nmi_count, apic_timer_irqs and irq0_irqs are unsigned.
Applied. Thanks,
tglx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-03 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 23:44 [PATCH] x86_64: nmi and irq counters are unsigned Hiroshi Shimamoto
2008-05-03 21:07 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox