Duh?
The above code is basically just completely wrong.
Hint: HZ is a define - not 100.
You just ended up dividing by zero on certain architectures.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/