linux-mips
[Top] [All Lists]

[PATCH 08/10] Loongson: mem.c: Fixup of the indentation

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 08/10] Loongson: mem.c: Fixup of the indentation
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Mon, 4 Jan 2010 17:16:50 +0800
Cc: linux-mips@linux-mips.org, yanh@lemote.com, huhb@lemote.com, zhangfx@lemote.com, Wu Zhangjin <wuzhangjin@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=Zvmb3HA93LjVboy1ExyQeXKQ1eRn83lEdypH7uc7HBM=; b=PQH83q7ZxTj67X5iNTy7zQE81lMWiP8MbKEzAdQG4fKJWSJ5VTlPwX9s/J/TimLZgf U2LC45e73Ku0aX34cFLMs1OowPyHywgsSgIU2BCaWyo8ROopRnl6jvHuzpLiRrUsE/tn KX8s0BUsDjOjtsH2Ghqsw5JLymUBTM9EHM/Y0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=jitj2nphlmct631+78ndpNx43l1ab0F90TN/wbut+wm8hTO3sXsUnyVrlG573O5WGe QyuK9wZ7T+V85ty83gBxHXl8x9nSB0gtjmatLkynJjUDEr9TTrcGrpq0/JIeerhC36s9 0SpCVIY0+tceIr6BXp+uTqcn+jMycTTza6CQk=
In-reply-to: <0340ef8c9de1f84261bac07c74f435f719eaa65d.1262596493.git.wuzhangjin@gmail.com>
In-reply-to: <cover.1262596493.git.wuzhangjin@gmail.com>
References: <cover.1262586650.git.wuzhangjin@gmail.com> <f4aeb125cb030f10d34966febfe9715874d52ab2.1262596493.git.wuzhangjin@gmail.com> <669ff2f39fd2aa3849e472438d3d9d499c8f0e3a.1262596493.git.wuzhangjin@gmail.com> <9bcc0f00c46fdf5c832ce3bdd0df8d7f08b7a1be.1262596493.git.wuzhangjin@gmail.com> <dc64ae336edaf61405e56534e33fe40c49694378.1262596493.git.wuzhangjin@gmail.com> <a5bac10a774e405cffcf79edc430b31d6becb0d0.1262596493.git.wuzhangjin@gmail.com> <b36e03d26901b981248854fcaa645d8c8a0f23a8.1262596493.git.wuzhangjin@gmail.com> <0340ef8c9de1f84261bac07c74f435f719eaa65d.1262596493.git.wuzhangjin@gmail.com>
References: <cover.1262596493.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzhangjin@gmail.com>

Replace the whitespaces by TABs.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 arch/mips/loongson/common/mem.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/mips/loongson/common/mem.c b/arch/mips/loongson/common/mem.c
index ceacd09..ec2f796 100644
--- a/arch/mips/loongson/common/mem.c
+++ b/arch/mips/loongson/common/mem.c
@@ -16,10 +16,11 @@
 
 void __init prom_init_memory(void)
 {
-    add_memory_region(0x0, (memsize << 20), BOOT_MEM_RAM);
+       add_memory_region(0x0, (memsize << 20), BOOT_MEM_RAM);
+
+       add_memory_region(memsize << 20, LOONGSON_PCI_MEM_START - (memsize <<
+                               20), BOOT_MEM_RESERVED);
 
-    add_memory_region(memsize << 20, LOONGSON_PCI_MEM_START - (memsize <<
-                           20), BOOT_MEM_RESERVED);
 #ifdef CONFIG_CPU_SUPPORTS_ADDRWINCFG
        {
                int bit;
-- 
1.6.5.6


<Prev in Thread] Current Thread [Next in Thread>