--- zzzz-none-000/linux-2.6.32.60/arch/mips/include/asm/r4kcache.h 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/arch/mips/include/asm/r4kcache.h 2012-01-26 18:00:03.000000000 +0000 @@ -166,6 +166,20 @@ __iflush_epilogue } +static inline void lock_icache_line(unsigned long addr) +{ + __iflush_prologue + cache_op(Index_Store_Data_I, addr); + __iflush_epilogue +} + +static inline void lock_dcache_line(unsigned long addr) +{ + __iflush_prologue + cache_op(Index_Store_Data_D, addr); + __iflush_epilogue +} + static inline void flush_dcache_line(unsigned long addr) { __dflush_prologue