mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
bootprotocol: cleanup
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
8008abbd87
commit
781fe2ebc0
@ -100,7 +100,7 @@ void __init free_early(unsigned long start, unsigned long end)
|
||||
for (j = i + 1; j < MAX_EARLY_RES && early_res[j].end; j++)
|
||||
;
|
||||
|
||||
memcpy(&early_res[i], &early_res[i + 1],
|
||||
memmove(&early_res[i], &early_res[i + 1],
|
||||
(j - 1 - i) * sizeof(struct early_res));
|
||||
|
||||
early_res[j - 1].end = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user