commit | a38648290ee277c7cb8a53eabdcdb08bb7a9f23f | [log] [tgz] |
---|---|---|
author | Ian Jackson <[email protected]> | Mon Dec 17 11:43:19 2012 +0000 |
committer | Stefano Stabellini <[email protected]> | Mon Dec 17 11:43:19 2012 +0000 |
tree | 08fcf5b90461b52d98bd2c30687005cf1dce8a2f | |
parent | f1b8caf1d927f30f66054733a783651a24db4999 [diff] |
cpu_ioreq_pio, cpu_ioreq_move: introduce read_phys_req_item, write_phys_req_item Replace a lot of formulaic multiplications (containing casts, no less) with calls to a pair of functions. This encapsulates in a single place the operations which require care relating to integer overflow. Cc: Dongxiao Xu <[email protected]> Signed-off-by: Ian Jackson <[email protected]> Acked-by: Stefano Stabellini <[email protected]>