diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-04-26 23:14:36 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-29 13:45:24 +0200 |
commit | 781fe2ebc0f44b32418d203ac023a541afdd042f (patch) | |
tree | 57acb334fb71d64967a7ae2ab57583edcbed6726 /arch/x86/kernel | |
parent | 8008abbd87644c84f93a7a86fec88f1e14031901 (diff) | |
download | op-kernel-dev-781fe2ebc0f44b32418d203ac023a541afdd042f.zip op-kernel-dev-781fe2ebc0f44b32418d203ac023a541afdd042f.tar.gz |
bootprotocol: cleanup
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-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 645ee5e..124480c 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) 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; |