diff options
| author | James Yang <[email protected]> | 2008-02-08 18:05:08 -0600 |
|---|---|---|
| committer | Andrew Fleming-AFLEMING <[email protected]> | 2008-03-26 11:43:04 -0500 |
| commit | a3e77fa5359b3f9f59e4e946b46d57a53057cc85 (patch) | |
| tree | 3bcc915dc6f1899b5e388793b1945c77fef3f16e /include/linux/string.h | |
| parent | e9ea679918fbc9a53fa2f2a904aac874ea736036 (diff) | |
85xx: Speed up get_ddr_freq() and get_bus_freq()
get_ddr_freq() and get_bus_freq() used get_sys_info() each time they were
called. However, get_sys_info() recalculates extraneous information when
called each time. Have get_ddr_freq() and get_bus_freq() return memoized
values from global_data instead.
Signed-off-by: James Yang <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
