commit | 2da995969e5385db150bd51ac8ba03a463e7186d | [log] [tgz] |
---|---|---|
author | Lasse Collin <[email protected]> | Tue May 26 17:42:16 2009 +0300 |
committer | Lasse Collin <[email protected]> | Tue May 26 17:42:16 2009 +0300 |
tree | 7e6140f08ff963c09008700e60c55d5dbafc835f | |
parent | 28892358dcf724b13bf0c49b1e3fa5b29e2d4f09 [diff] |
Avoid integer division, since it's not necessarily available in early boot code in the Linux kernel. Thanks to Alain Knaff for pointing this out. It's possible that the compiler already avoided divide instructions, but since there wasn't much to change, it was simplest to change the code to be sure.