diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-11-13 14:32:03 +0100 |
---|---|---|
committer | Markos Chandras <markos.chandras@imgtec.com> | 2015-02-17 16:37:20 +0100 |
commit | a7e07b1ae550303c6611f4d3b054a4f9c2bc8a9e (patch) | |
tree | 94722e7eefa771f02592749ca425c7243ad8d3e5 /arch/mips/include/asm/spram.h | |
parent | MIPS: asm: r4kcache: Add MIPS R6 cache unroll functions (diff) | |
download | linux-a7e07b1ae550303c6611f4d3b054a4f9c2bc8a9e.tar.xz linux-a7e07b1ae550303c6611f4d3b054a4f9c2bc8a9e.zip |
MIPS: asm: spram: Add new symbol for MIPS scratch pad storage
MIPS R6, just like MIPS R2, have scratch pad storage, so add a new
symbol which is selected by MIPS R2 and R6.
Link: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00389.html
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/include/asm/spram.h')
-rw-r--r-- | arch/mips/include/asm/spram.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/spram.h b/arch/mips/include/asm/spram.h index 0b89006e4907..0f90d88e464d 100644 --- a/arch/mips/include/asm/spram.h +++ b/arch/mips/include/asm/spram.h @@ -1,10 +1,10 @@ #ifndef _MIPS_SPRAM_H #define _MIPS_SPRAM_H -#ifdef CONFIG_CPU_MIPSR2 +#if defined(CONFIG_MIPS_SPRAM) extern __init void spram_config(void); #else static inline void spram_config(void) { }; -#endif /* CONFIG_CPU_MIPSR2 */ +#endif /* CONFIG_MIPS_SPRAM */ #endif /* _MIPS_SPRAM_H */ |