diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-25 20:00:16 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-08-29 01:21:41 +0300 |
commit | 843791bb6c76b1f808951b284be5c10ee47fd245 (patch) | |
tree | 664c8002490f81a79dc820659281d3f3fa73c165 /drivers/eisa | |
parent | 9a6e91d08e7707baa2f824257342ca7efcb199bc (diff) | |
download | linux-843791bb6c76b1f808951b284be5c10ee47fd245.tar.xz |
cpufreq: speedstep-lib: make several arrays static, makes code smaller
Don't populate arrays on the stack, instead make them static.
Makes the object code smaller by over 860 bytes:
Before:
text data bss dec hex filename
10716 5196 0 15912 3e28 drivers/cpufreq/speedstep-lib.o
After:
text data bss dec hex filename
9690 5356 0 15046 3ac6 drivers/cpufreq/speedstep-lib.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions