[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
@@ -367,7 +367,7 @@ struct linux_smonblock {
|
||||
* Macros for calling a 32-bit ARC implementation from 64-bit code
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_MIPS64) && defined(CONFIG_ARC32)
|
||||
#if defined(CONFIG_64BIT) && defined(CONFIG_ARC32)
|
||||
|
||||
#define __arc_clobbers \
|
||||
"$2","$3" /* ... */, "$8","$9","$10","$11", \
|
||||
@@ -476,10 +476,10 @@ struct linux_smonblock {
|
||||
__res; \
|
||||
})
|
||||
|
||||
#endif /* defined(CONFIG_MIPS64) && defined(CONFIG_ARC32) */
|
||||
#endif /* defined(CONFIG_64BIT) && defined(CONFIG_ARC32) */
|
||||
|
||||
#if (defined(CONFIG_MIPS32) && defined(CONFIG_ARC32)) || \
|
||||
(defined(CONFIG_MIPS64) && defined(CONFIG_ARC64))
|
||||
#if (defined(CONFIG_32BIT) && defined(CONFIG_ARC32)) || \
|
||||
(defined(CONFIG_64BIT) && defined(CONFIG_ARC64))
|
||||
|
||||
#define ARC_CALL0(dest) \
|
||||
({ long __res; \
|
||||
|
Reference in New Issue
Block a user