diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-09-03 18:56:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:06:06 -0400 |
commit | 875d43e72b5bf22161a81de7554f88eccf8a51ae (patch) | |
tree | a676fe7298b478b7ee9fe7be9cb07c9a0b928370 /include/asm-mips/mach-generic | |
parent | 63fb6fd1c86181d9dd9ba0e6e6082799e149b56b (diff) |
[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>
Diffstat (limited to 'include/asm-mips/mach-generic')
-rw-r--r-- | include/asm-mips/mach-generic/spaces.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-mips/mach-generic/spaces.h b/include/asm-mips/mach-generic/spaces.h index 63c0a81c7832..5a2c1efb4eb7 100644 --- a/include/asm-mips/mach-generic/spaces.h +++ b/include/asm-mips/mach-generic/spaces.h | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | #include <linux/config.h> | 13 | #include <linux/config.h> |
14 | 14 | ||
15 | #ifdef CONFIG_MIPS32 | 15 | #ifdef CONFIG_32BIT |
16 | 16 | ||
17 | #define CAC_BASE 0x80000000 | 17 | #define CAC_BASE 0x80000000 |
18 | #define IO_BASE 0xa0000000 | 18 | #define IO_BASE 0xa0000000 |
@@ -32,9 +32,9 @@ | |||
32 | #define HIGHMEM_START 0x20000000UL | 32 | #define HIGHMEM_START 0x20000000UL |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #endif /* CONFIG_MIPS32 */ | 35 | #endif /* CONFIG_32BIT */ |
36 | 36 | ||
37 | #ifdef CONFIG_MIPS64 | 37 | #ifdef CONFIG_64BIT |
38 | 38 | ||
39 | /* | 39 | /* |
40 | * This handles the memory map. | 40 | * This handles the memory map. |
@@ -67,6 +67,6 @@ | |||
67 | #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK)) | 67 | #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK)) |
68 | #define TO_UNCAC(x) (UNCAC_BASE | ((x) & TO_PHYS_MASK)) | 68 | #define TO_UNCAC(x) (UNCAC_BASE | ((x) & TO_PHYS_MASK)) |
69 | 69 | ||
70 | #endif /* CONFIG_MIPS64 */ | 70 | #endif /* CONFIG_64BIT */ |
71 | 71 | ||
72 | #endif /* __ASM_MACH_GENERIC_SPACES_H */ | 72 | #endif /* __ASM_MACH_GENERIC_SPACES_H */ |