Skip to content

Commit

Permalink
bootprotocol: cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Apr 29, 2008
1 parent 8008abb commit 781fe2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/e820_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 781fe2e

Please sign in to comment.