[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <51964C95.2010401@gmail.com>
Date: Fri, 17 May 2013 23:28:21 +0800
From: Liu Jiang <liuj97@...il.com>
To: David Howells <dhowells@...hat.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Jiang Liu <jiang.liu@...wei.com>,
David Rientjes <rientjes@...gle.com>,
Wen Congyang <wency@...fujitsu.com>,
Mel Gorman <mgorman@...e.de>, Minchan Kim <minchan@...nel.org>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Michal Hocko <mhocko@...e.cz>,
James Bottomley <James.Bottomley@...senPartnership.com>,
Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Mark Salter <msalter@...hat.com>,
Jianguo Wu <wujianguo@...wei.com>, linux-mm@...ck.org,
linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
Haavard Skinnemoen <hskinnemoen@...il.com>
Subject: Re: [PATCH v6, part3 16/16] AVR32: fix building warnings caused by
redifinitions of HZ
On 05/13/2013 05:40 PM, David Howells wrote:
> Jiang Liu <liuj97@...il.com> wrote:
>
>> -#ifndef HZ
>> +#ifndef __KERNEL__
>> + /*
>> + * Technically, this is wrong, but some old apps still refer to it.
>> + * The proper way to get the HZ value is via sysconf(_SC_CLK_TCK).
>> + */
>> # define HZ 100
>> #endif
> Better still, use asm-generic/param.h and uapi/asm-generic/param.h for AVR32
> instead.
>
> David
>
Hi David,
Great idea! Will use generic param.h for AVR32.
Regards!
Gerry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists