diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-02-17 10:40:30 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-02-26 12:42:20 +0100 |
commit | afaa2e4bc4e17360307cb86fbb1d5d350ae22961 (patch) | |
tree | a31c02a0706a5e15249f8f9bed95b1019578212a /scripts/update-linux-headers.sh | |
parent | 384fb32ea7984ed6e5fdcea0bbc3d5b01238806b (diff) |
acpi-build: simplify rsdp management for legacy
For legacy machine types, rsdp is not in RAM, so we need a copy of rsdp
for fw cfg. We previously used g_array_free with false parameter,
but this seems to confuse people.
This also wastes a bit of memory as the buffer is unused for new
machine types.
Let's just use plain g_memdup, and free original memory together with
the array.
TODO: rationalize tcpalog memory management, and get rid of the mfre
parameter.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'scripts/update-linux-headers.sh')
0 files changed, 0 insertions, 0 deletions