projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ae86a6
)
MIPS: Loongson: Fixup mem.c indentation
author
Wu Zhangjin
<
[email protected]
>
Mon, 4 Jan 2010 09:16:50 +0000
(17:16 +0800)
committer
Ralf Baechle
<
[email protected]
>
Sat, 27 Feb 2010 11:53:11 +0000
(12:53 +0100)
Replace whitespace by tabs.
Signed-off-by: Wu Zhangjin <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Patchwork: http://patchwork.linux-mips.org/patch/828/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/loongson/common/mem.c
patch
|
blob
|
history
diff --git
a/arch/mips/loongson/common/mem.c
b/arch/mips/loongson/common/mem.c
index ceacd092b4461f00679eab624c92b8412b6141db..ec2f7964a0b0d5c6a6d6f1edfa8e92062c3076aa 100644
(file)
--- 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;