summaryrefslogtreecommitdiff
path: root/lib/sort.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-03 04:41:27 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-02-07 15:21:15 +0300
commit2d479e1fa2d09c5a9518a75a5d21ef2713117946 (patch)
treec79b81ce9b03bace7a86192d39ab7e7233cda5bf /lib/sort.c
parent9426998ce6f8616c48c2834cafbe5616da3f5abd (diff)
downloadlinux-2d479e1fa2d09c5a9518a75a5d21ef2713117946.tar.xz
device property: export code duplicating array of property entries
When augmenting ACPI-enumerated devices with additional property data based on DMI info, a module has often several potential property sets, with only one being active on a given box. In order to save memory it should be possible to mark everything and __initdata or __initconst, execute DMI match early, and duplicate relevant properties. Then kernel will discard the rest of them. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions