diff options
author | Mathias Krause <minipli@googlemail.com> | 2015-03-25 22:15:52 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-11 02:21:15 +0200 |
commit | ea85dbcaec0ff29f2c3f84be4c8a01a94e8bd449 (patch) | |
tree | 8bd9e2c1611531f01be3a8d3564e64199a620fbb /arch/arm/kernel | |
parent | 34dfa36c04c5883c325e8d62905c0ca5551fcf27 (diff) | |
download | linux-ea85dbcaec0ff29f2c3f84be4c8a01a94e8bd449.tar.bz2 |
powercap / RAPL: mark rapl_ids array as __initconst
The RAPL ids are only tested in rapl_init() which is itself an __init
function. For the MODULE_DEVICE_TABLE() file2alias doesn't care about
the section, just about the symbol name. Therefore it's safe to mark the
rapl_ids[] array as __initconst so its memory can be released after
initialization is done.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions