By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,698 Members | 1,328 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,698 IT Pros & Developers. It's quick & easy.

Making CLOCK_TICK_RATE a variable in linux

P: 3
Hi
I am using linux 2.6.19, I want the CLOCK_TICK_RATE macro defined in asm-arm/arch-at91rm9200/timex.h as a variable, so that the board can work in different clock frequencies.
Is it possible to do , as many of the macros depend on the CLOCK_TICK_RATE macro.
If it is possible please tell me how to go about.

Thanks
Virupax
Jul 23 '08 #1
Share this Question
Share on Google+
1 Reply

P: 62
If it is defined as a macro then the macros value can be re-assigned when the code is compiled. I don't know if this would work for a system library unless you where willing to compile the kernel. A little more information would be helpful here.

Edward
Aug 7 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.