aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMathias Krause <[email protected]>2015-03-25 21:15:52 +0000
committerRafael J. Wysocki <[email protected]>2015-04-11 00:21:15 +0000
commitea85dbcaec0ff29f2c3f84be4c8a01a94e8bd449 (patch)
tree8bd9e2c1611531f01be3a8d3564e64199a620fbb /net/unix/af_unix.c
parentpowercap / RAPL: add ID for Broadwell server (diff)
downloadkernel-ea85dbcaec0ff29f2c3f84be4c8a01a94e8bd449.tar.gz
kernel-ea85dbcaec0ff29f2c3f84be4c8a01a94e8bd449.zip
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 <[email protected]> Acked-by: Jacob Pan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions