Revert "Fix divisions by zero on boot."

This reverts commit b713222772c2c6143734d55cae20f338d0a1d4e3.
I can build?
Revert "Revert "Fix divisions by zero on boot.""

This reverts commit ec0884a1966ecd8e32fa67907b9f210cb6c4e5b6.