| commit | eb47d0613075e0372e4041e6f1f388252c9a2722 | [log] [tgz] |
|---|---|---|
| author | Matt Fleming <matt@codeblueprint.co.uk> | Tue Mar 01 23:08:03 2016 +0000 |
| committer | Matt Fleming <matt@codeblueprint.co.uk> | Tue Mar 01 23:21:04 2016 +0000 |
| tree | dc7975098177fb4fe082acc90f9940b16e78ac8d | |
| parent | c4a6893a40d79b5818ba70d0b1233de3b6da67db [diff] |
efi/esrt: Use efi_mem_reserve() and avoid a kmalloc() We can use the new efi_mem_reserve() API to mark the ESRT table as reserved forever and save ourselves the trouble of copying the data out into a kmalloc buffer. The added advantage is that now the ESRT driver will work across kexec reboot. Cc: Peter Jones <pjones@redhat.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>