Make HZ_TO_STD macro name lowercase.
[linux-2.6/linux-mips.git] / include / asm-arm / arch-shark / param.h
blob3463cc5c96f07bd6973ac84c19876c79f67ddc6b
1 /*
2 * linux/include/asm-arm/arch-shark/param.h
4 * by Alexander.Schulz@stud.uni-karlsruhe.de
5 */
7 /* This must be a power of 2 because the RTC
8 * can't use anything else.
9 */
10 #define HZ 64
11 #ifdef __KERNEL__
12 /* Conceptually
14 #define hz_to_std(a) ((a) * 100 / HZ)
16 is what has to be done, it just has overflow problems with the
17 intermediate result of the multiply after a bit more than 7 days.
18 See include/asm-mips/param.h for a optized sample implementation
19 used on DECstations.
21 #error Provide a definiton for hz_to_std
22 #endif