All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH] NMI-watchdog related fixes
Date: Mon, 28 Nov 2005 16:57:06 +0100	[thread overview]
Message-ID: <438B28D2.7050706@domain.hid> (raw)
In-Reply-To: <438AAEC9.7070703@domain.hid>

Jan Kiszka wrote:
> Hi,
> 
> some fixes related to warnings when you switch on Xenomai's NMI watchdog.
> 

Applied, thanks.

> Jan
> 
> 
> ------------------------------------------------------------------------
> 
> Index: include/asm-i386/system.h
> ===================================================================
> --- include/asm-i386/system.h	(Revision 191)
> +++ include/asm-i386/system.h	(Arbeitskopie)
> @@ -602,9 +602,11 @@
>         handler would simply occur after 4 billions ticks. */
>      rthal_timer_program_shot(rthal_imuldiv(delay,RTHAL_TIMER_FREQ,RTHAL_CPU_FREQ));
>  #ifdef CONFIG_XENO_HW_NMI_DEBUG_LATENCY
> -    extern unsigned long rthal_maxlat_tsc;
> -    if (delay <= (ULONG_MAX - rthal_maxlat_tsc))
> -        rthal_nmi_arm(delay + rthal_maxlat_tsc);
> +    {
> +        extern unsigned long rthal_maxlat_tsc;
> +        if (delay <= (ULONG_MAX - rthal_maxlat_tsc))
> +            rthal_nmi_arm(delay + rthal_maxlat_tsc);
> +    }
>  #endif /* CONFIG_XENO_HW_NMI_DEBUG_LATENCY */
>  }
>  
> Index: ChangeLog
> ===================================================================
> --- ChangeLog	(Revision 191)
> +++ ChangeLog	(Arbeitskopie)
> @@ -1,3 +1,11 @@
> +2005-11-28  Jan Kiszka <jan.kiszka@domain.hid>
> +
> +	* ksrc/arch/i386/Kconfig: Fixed XENO_HW_NMI_DEBUG_LATENCY_MAX
> +	kconfig type.
> +
> +	* include/asm-i386/system.h, ksrc/arch/i386/hal.c: Fixed
> +	harmless compiler warnings.
> +
>  2005-11-25  Jan Kiszka <jan.kiszka@domain.hid>
>  
>  	* ksrc/skins/native/{pipe.c,syscall.c}, src/skins/native/pipe.c,
> Index: ksrc/arch/i386/Kconfig
> ===================================================================
> --- ksrc/arch/i386/Kconfig	(Revision 191)
> +++ ksrc/arch/i386/Kconfig	(Arbeitskopie)
> @@ -81,8 +81,8 @@
>  
>  config XENO_HW_NMI_DEBUG_LATENCY_MAX
>          depends XENO_HW_NMI_DEBUG_LATENCY
> -        string "NMI watchdog latency threshold (us)"
> -        default "100"
> +        int "NMI watchdog latency threshold (us)"
> +        default 100
>          help
>          When the timer interrupt latency goes above this threshold, the
>          NMI watchdog pulls the handbrake.
> Index: ksrc/arch/i386/hal.c
> ===================================================================
> --- ksrc/arch/i386/hal.c	(Revision 191)
> +++ ksrc/arch/i386/hal.c	(Arbeitskopie)
> @@ -175,6 +175,8 @@
>  }
>  
>  #ifdef CONFIG_XENO_HW_NMI_DEBUG_LATENCY
> +#include <asm/nmi.h>
> +
>  unsigned long rthal_maxlat_tsc;
>  EXPORT_SYMBOL(rthal_maxlat_tsc);
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core


-- 

Philippe.


      reply	other threads:[~2005-11-28 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28  7:16 [Xenomai-core] [PATCH] NMI-watchdog related fixes Jan Kiszka
2005-11-28 15:57 ` Philippe Gerum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438B28D2.7050706@domain.hid \
    --to=rpm@xenomai.org \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.