diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-04-26 17:14:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-29 07:45:24 -0400 |
commit | 781fe2ebc0f44b32418d203ac023a541afdd042f (patch) | |
tree | 57acb334fb71d64967a7ae2ab57583edcbed6726 /arch/x86 | |
parent | 8008abbd87644c84f93a7a86fec88f1e14031901 (diff) |
bootprotocol: cleanup
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/e820_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/e820_64.c b/arch/x86/kernel/e820_64.c index 645ee5e32a27..124480c0008d 100644 --- a/arch/x86/kernel/e820_64.c +++ b/arch/x86/kernel/e820_64.c | |||
@@ -100,7 +100,7 @@ void __init free_early(unsigned long start, unsigned long end) | |||
100 | for (j = i + 1; j < MAX_EARLY_RES && early_res[j].end; j++) | 100 | for (j = i + 1; j < MAX_EARLY_RES && early_res[j].end; j++) |
101 | ; | 101 | ; |
102 | 102 | ||
103 | memcpy(&early_res[i], &early_res[i + 1], | 103 | memmove(&early_res[i], &early_res[i + 1], |
104 | (j - 1 - i) * sizeof(struct early_res)); | 104 | (j - 1 - i) * sizeof(struct early_res)); |
105 | 105 | ||
106 | early_res[j - 1].end = 0; | 106 | early_res[j - 1].end = 0; |