FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 05-09-2008, 11:48 AM
Niko Tyni
 
Default Bug#480130: m68knommu: rework definition of HZ

On Thu, May 01, 2008 at 02:21:45AM +0000, Greg Ungerer wrote:
> Rework the HZ definition to be more consistent with other architectures.
> Non-kernel includers will see a constant HZ setting of 100.

Something like this is needed for <asm-alpha/param.h> as well.
Perl and possibly python too fail to build with the 2.6.25 header
on alpha due to "'CONFIG_HZ' undeclared".

Some details can be found in http://bugs.debian.org/480130 .

> diff -Naurp linux-2.6.25/include/asm-m68knommu/param.h linux-2.6.25-uc0/include/asm-m68knommu/param.h
> --- linux-2.6.25/include/asm-m68knommu/param.h 2008-04-17 12:49:44.000000000 +1000
> +++ linux-2.6.25-uc0/include/asm-m68knommu/param.h 2008-04-28 17:00:21.000000000 +1000
> @@ -1,13 +1,16 @@
> #ifndef _M68KNOMMU_PARAM_H
> #define _M68KNOMMU_PARAM_H
>
> -#define HZ CONFIG_HZ
> -
> #ifdef __KERNEL__
> +#define HZ CONFIG_HZ
> #define USER_HZ HZ
> #define CLOCKS_PER_SEC (USER_HZ)
> #endif
>
> +#ifndef HZ
> +#define HZ 100
> +#endif
> +
> #define EXEC_PAGESIZE 4096
>
> #ifndef NOGROUP

--
Niko Tyni ntyni@debian.org



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 08:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org