[Openais] [patch 02/13] HZ is not always available - even on Linux. Recent kernels (at least on SUSE) dont export HZ to non-kernel users

Steven Dake sdake at redhat.com
Sat Sep 8 23:57:42 PDT 2007


merged

thanks
-steve
On Fri, 2007-08-24 at 11:53 +0200, beekhof at gmail.com wrote:
> plain text document attachment (bug-define-hz.patch)
> ---
>  exec/tlist.h |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> Index: exec/tlist.h
> ===================================================================
> --- exec/tlist.h.orig	2007-08-23 19:38:36.000000000 +0200
> +++ exec/tlist.h	2007-08-23 19:40:07.000000000 +0200
> @@ -45,7 +45,7 @@
>  
>  #include "../include/list.h"
>  
> -#if defined(OPENAIS_BSD) || defined(OPENAIS_DARWIN)
> +#ifndef HZ
>  	#define HZ 100  /* 10ms */
>  #endif
>  
> 



More information about the Openais mailing list