From: Clemens Ladisch It was only the RTC hardware that restricted interrupt frequencies to a power of two. There is no reason to take over this restriction into the HPET driver, so remove the offending check. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton --- drivers/char/hpet.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/hpet.c~hpet-allow-non-power-of-two-frequencies drivers/char/hpet.c --- devel/drivers/char/hpet.c~hpet-allow-non-power-of-two-frequencies 2005-10-11 00:34:49.000000000 -0700 +++ devel-akpm/drivers/char/hpet.c 2005-10-11 00:34:49.000000000 -0700 @@ -519,7 +519,7 @@ hpet_ioctl_common(struct hpet_dev *devp, break; } - if (!arg || (arg & (arg - 1))) { + if (!arg) { err = -EINVAL; break; } _