commit | d5cdc3c4c22fce5a187b51736f3d0dc3e6cbe282 | [log] [tgz] |
---|---|---|
author | Mathias Krause <minipli@googlemail.com> | Wed Mar 25 22:15:14 2015 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Apr 11 02:25:01 2015 +0200 |
tree | 0d866cba744a0facc679059eb94f30112a97c05e | |
parent | cdde51b9fe83a20fd6c50e81473e6ffb5ba63b92 [diff] |
intel_idle: mark cpu id array as __initconst The CPU ids are only tested in intel_idle_probe() which is itself an __init function. For the MODULE_DEVICE_TABLE() file2alias doesn't care about the section, just about the symbol name. So it's safe to mark the cpu id array as __initconst so its memory can be released after initialization is done. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>