diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/sh/cpu/sh2/cpu.c | 4 | ||||
| -rw-r--r-- | arch/sh/cpu/sh4/cpu.c | 4 | ||||
| -rw-r--r-- | arch/sh/include/asm/cache.h | 4 | ||||
| -rw-r--r-- | arch/sh/include/asm/processor.h | 5 | 
4 files changed, 4 insertions, 13 deletions
| diff --git a/arch/sh/cpu/sh2/cpu.c b/arch/sh/cpu/sh2/cpu.c index 18479a4c4..a2f856f45 100644 --- a/arch/sh/cpu/sh2/cpu.c +++ b/arch/sh/cpu/sh2/cpu.c @@ -23,11 +23,7 @@  int checkcpu(void)  { -#if defined(CONFIG_SH2A) -	puts("CPU: SH2A\n"); -#else  	puts("CPU: SH2\n"); -#endif  	return 0;  } diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c index 91133a38a..e8ee0a45a 100644 --- a/arch/sh/cpu/sh4/cpu.c +++ b/arch/sh/cpu/sh4/cpu.c @@ -13,11 +13,7 @@  int checkcpu(void)  { -#ifdef CONFIG_SH4A -	puts("CPU: SH-4A\n"); -#else  	puts("CPU: SH4\n"); -#endif  	return 0;  } diff --git a/arch/sh/include/asm/cache.h b/arch/sh/include/asm/cache.h index b21dc4422..0698a3775 100644 --- a/arch/sh/include/asm/cache.h +++ b/arch/sh/include/asm/cache.h @@ -1,7 +1,7 @@  #ifndef __ASM_SH_CACHE_H  #define __ASM_SH_CACHE_H -#if defined(CONFIG_SH4) || defined(CONFIG_SH4A) +#if defined(CONFIG_SH4)  int cache_control(unsigned int cmd); @@ -18,7 +18,7 @@ struct __large_struct { unsigned long buf[100]; };   */  #define ARCH_DMA_MINALIGN	32 -#endif /* CONFIG_SH4 || CONFIG_SH4A */ +#endif /* CONFIG_SH4 */  /*   * Use the L1 data cache line size value for the minimum DMA buffer alignment diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h index 938a89cff..c3441ff55 100644 --- a/arch/sh/include/asm/processor.h +++ b/arch/sh/include/asm/processor.h @@ -3,10 +3,9 @@  #if defined(CONFIG_SH2) || \  	defined (CONFIG_SH2A)  # include <asm/cpu_sh2.h> -#elif defined (CONFIG_SH3) +#elif defined(CONFIG_SH3)  # include <asm/cpu_sh3.h> -#elif defined (CONFIG_SH4) || \ -	defined (CONFIG_SH4A) +#elif defined(CONFIG_SH4)  # include <asm/cpu_sh4.h>  #endif  #endif |