[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#480130: perl: FTBFS on alpha: 'CONFIG_HZ' undeclared



On Thu, May 08, 2008 at 12:32:35PM +0300, Niko Tyni wrote:
> 
> OK, <asm/param.h> has changed on alpha like this:
> 
> --- 24/usr/include/asm/param.h	2008-04-22 11:49:18.000000000 +0300
> +++ 25/usr/include/asm/param.h	2008-04-28 20:46:21.000000000 +0300
> @@ -5,15 +5,7 @@
>     hardware ignores reprogramming.  We also need userland buy-in to the 
>     change in HZ, since this is visible in the wait4 resources etc.  */
>  
> -
> -#ifndef HZ
> -# ifndef CONFIG_ALPHA_RAWHIDE
> -#  define HZ	1024
> -# else
> -#  define HZ	1200
> -# endif
> -#endif
> -
> +#define HZ		CONFIG_HZ
>  #define USER_HZ		HZ
>  
>  #define EXEC_PAGESIZE	8192

we won't diverge on linux-libc-dev headers from upstream,
please take that upstream to lkml.

i'd think Perl has no business into looking at the HZ value,
as it gives no sense at all now nowadays with the NO_HZ aka
dynticks usage.

-- 
maks



Reply to: