]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Allow generic spaces.h to be included by platform specific ones
authorFranck Bui-Huu <fbuihuu@gmail.com>
Mon, 4 Jun 2007 15:46:31 +0000 (17:46 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 Jul 2007 16:32:57 +0000 (17:32 +0100)
commit3fecd65f759273fbab4ebbdda3d56198dc7ddcce
treed2b69fa3c61744da997251eb4a2a1ccab9bdc4e0
parentdf307bf5c48c2791a6b7032a31e89f54572be0cf
[MIPS] Allow generic spaces.h to be included by platform specific ones

Before this patch, when a platform needed to customize one constant in
spaces.h, they need to redefine all of them.

Now they can just redefine one constant and include the generic file
header at the end:

#include <asm/mach-generic/spaces.h>

This patch doesn't allow to redefine CAC_BASE, IO_BASE and UNCAC_BASE
for 32 bits platforms because there's no need to do so.

This will avoid some macro duplications. It's important specially if
we'll add complex macros.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
 delete mode 100644 include/asm-mips/mach-ip32/spaces.h
include/asm-mips/mach-generic/spaces.h
include/asm-mips/mach-ip22/spaces.h
include/asm-mips/mach-ip27/spaces.h
include/asm-mips/mach-ip32/spaces.h [deleted file]