Skip to content

Commit a06d61c

Browse files
atsushi-nemotoralfbaechle
authored andcommitted
Redefine outs[wl] for ide_outs[wl].
Add missing bits to fix D-cache aliasing problem in the PIO IDE driver. Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
1 parent 4fa0997 commit a06d61c

File tree

1 file changed

+4
-0
lines changed
  • include/asm-mips/mach-generic

1 file changed

+4
-0
lines changed

include/asm-mips/mach-generic/ide.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,12 @@ static inline void __ide_mm_outsl(void __iomem * port, void *addr, u32 count)
168168
/* ide_insw calls insw, not __ide_insw. Why? */
169169
#undef insw
170170
#undef insl
171+
#undef outsw
172+
#undef outsl
171173
#define insw(port, addr, count) __ide_insw(port, addr, count)
172174
#define insl(port, addr, count) __ide_insl(port, addr, count)
175+
#define outsw(port, addr, count) __ide_outsw(port, addr, count)
176+
#define outsl(port, addr, count) __ide_outsl(port, addr, count)
173177

174178
#endif /* __KERNEL__ */
175179

0 commit comments

Comments
 (0)