[PATCH] mips: clean up 32/64-bit configuration
Start cleaning 32-bit vs. 64-bit configuration. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
63fb6fd1c8
commit
875d43e72b
@@ -12,7 +12,7 @@
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifdef CONFIG_MIPS32
|
||||
#ifdef CONFIG_32BIT
|
||||
|
||||
#define CAC_BASE 0x80000000
|
||||
#define IO_BASE 0xa0000000
|
||||
@@ -32,9 +32,9 @@
|
||||
#define HIGHMEM_START 0x20000000UL
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_MIPS32 */
|
||||
#endif /* CONFIG_32BIT */
|
||||
|
||||
#ifdef CONFIG_MIPS64
|
||||
#ifdef CONFIG_64BIT
|
||||
|
||||
/*
|
||||
* This handles the memory map.
|
||||
@@ -67,6 +67,6 @@
|
||||
#define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))
|
||||
#define TO_UNCAC(x) (UNCAC_BASE | ((x) & TO_PHYS_MASK))
|
||||
|
||||
#endif /* CONFIG_MIPS64 */
|
||||
#endif /* CONFIG_64BIT */
|
||||
|
||||
#endif /* __ASM_MACH_GENERIC_SPACES_H */
|
||||
|
Reference in New Issue
Block a user