Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH v6, part3 16/16] AVR32: fix building warnings caused by redifinitions of HZ | Date | Mon, 13 May 2013 10:40:05 +0100 |
| |
Jiang Liu <liuj97@gmail.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
| |