CLOCK_TICK_RATE undeclared
Hi all,
I have the following problem. I need to cross compile kernel module using 2.6.18 kernel. I have problem with CLOCK_TICK_RATE macro which is undeclared. I get compiler error in jiffies.h which uses this macro. This file has following includes:
#include <linux/calc64.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/time.h>
#include <linux/timex.h>
#include <asm/param.h> /* for HZ */
The problem is because CLOCK_TICK_RATE definition is removed in asm-xxx/timex.h.
I do not now how to resolve this except to change jiffies.h and add one more include file asm/timex.h which has definition in it CLOCK_TICK_RATE.
Help please !!!
|