commit | 966f4406d903a4214fdc74bec54710c6232a95b8 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Wed Mar 15 11:36:31 2006 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Sat Mar 18 16:59:28 2006 +0000 |
tree | 20d7f57eae99fe83b8fbdae112a6a0facc5b552d | |
parent | 66a9a4ffda3474b193f36ed579cee06c597952f3 [diff] |
[MIPS] Work around bad code generation for <asm/io.h>. If a call to set_io_port_base() was being followed by usage of mips_io_port_base in the same function gcc was possibly using the old value due to some clever abuse of const. Adding a barrier will keep the optimization and result in correct code with latest gcc. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>