diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h index aeecf432d48c4e8372ac1cdac36680defbbf7c98..5be45ea4dfecf9c7b0b616d7a473744d3c928d05 100644 --- a/arch/sh/include/asm/io.h +++ b/arch/sh/include/asm/io.h @@ -92,8 +92,12 @@ static inline void ctrl_delay(void) { -#ifdef P2SEG +#ifdef CONFIG_CPU_SH4 + __raw_readw(CCN_PVR); +#elif defined(P2SEG) __raw_readw(P2SEG); +#else +#error "Need a dummy address for delay" #endif }