Lets look more closely:
#ifndef HZ
#define HZ 100
#endif
#if defined(__KERNEL__) && (HZ == 100)
#define hz_to_std(a) (a)
#endif
And:
$ grep hz_to_std arch-*/param.h
arch-l7200/param.h:#define hz_to_std(a) ((a * HZ)/100)
arch-shark/param.h:#define hz_to_std(a) ((a * HZ)/100)
As I said, tbox is broken, so ignore that.
And hz_to_std gets used (fs/proc/array.c):
hz_to_std(task->times.tms_utime),
hz_to_std(task->times.tms_stime),
hz_to_std(task->times.tms_cutime),
hz_to_std(task->times.tms_cstime),
So merely grepping for HZ doesn't actually tell you anything.
All /proc values are in 100Hz units on ARM.
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/