diff options
author | WANG Chao <chaowang@redhat.com> | 2014-04-11 10:23:22 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2014-04-14 11:08:27 +0900 |
commit | ae716ab36a155ce8dfe3189765629eb8fbcf8725 (patch) | |
tree | 4b5fd0d4bca43c4b1d78fdb604314809373f5110 /kexec | |
parent | a6e931dc0f0d6da0f591defc213b34e93240497e (diff) |
x86, cleanup: fix indent
Signed-off-by: WANG Chao <chaowang@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec')
-rw-r--r-- | kexec/arch/i386/crashdump-x86.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c index 91872ab..72bce0b 100644 --- a/kexec/arch/i386/crashdump-x86.c +++ b/kexec/arch/i386/crashdump-x86.c @@ -509,11 +509,11 @@ static int add_memmap(struct memory_range *memmap_p, unsigned long long addr, else if (addr > mend) tidx = i+1; } - /* Insert the memory region. */ - for (j = nr_entries-1; j >= tidx; j--) - memmap_p[j+1] = memmap_p[j]; - memmap_p[tidx].start = addr; - memmap_p[tidx].end = addr + size - 1; + /* Insert the memory region. */ + for (j = nr_entries-1; j >= tidx; j--) + memmap_p[j+1] = memmap_p[j]; + memmap_p[tidx].start = addr; + memmap_p[tidx].end = addr + size - 1; dbgprintf("Memmap after adding segment\n"); for (i = 0; i < CRASH_MAX_MEMMAP_NR; i++) { |