apple-properties.c (c74a7469f97c0f40b46e82ee979f9fb1bb6e847c) | apple-properties.c (53ab85ebfd27cdf16c8ddc72781c072a63bef3cb) |
---|---|
1/* 2 * apple-properties.c - EFI device properties on Macs 3 * Copyright (C) 2016 Lukas Wunner <lukas@wunner.de> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License (version 2) as 7 * published by the Free Software Foundation. 8 * --- 221 unchanged lines hidden (view full) --- 230 ret = unmarshal_devices(properties); 231 232 /* 233 * Can only free the setup_data payload but not its header 234 * to avoid breaking the chain of ->next pointers. 235 */ 236 data->len = 0; 237 memunmap(data); | 1/* 2 * apple-properties.c - EFI device properties on Macs 3 * Copyright (C) 2016 Lukas Wunner <lukas@wunner.de> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License (version 2) as 7 * published by the Free Software Foundation. 8 * --- 221 unchanged lines hidden (view full) --- 230 ret = unmarshal_devices(properties); 231 232 /* 233 * Can only free the setup_data payload but not its header 234 * to avoid breaking the chain of ->next pointers. 235 */ 236 data->len = 0; 237 memunmap(data); |
238 free_bootmem_late(pa_data + sizeof(*data), data_len); | 238 memblock_free_late(pa_data + sizeof(*data), data_len); |
239 240 return ret; 241 } 242 return 0; 243} 244 245fs_initcall(map_properties); | 239 240 return ret; 241 } 242 return 0; 243} 244 245fs_initcall(map_properties); |