diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-03-15 12:36:31 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-03-18 17:59:28 +0100 |
commit | 966f4406d903a4214fdc74bec54710c6232a95b8 (patch) | |
tree | 20d7f57eae99fe83b8fbdae112a6a0facc5b552d /arch/mips/kernel/time.c | |
parent | [MIPS] Simple patch to power off DBAU1200 (diff) | |
download | linux-966f4406d903a4214fdc74bec54710c6232a95b8.tar.xz linux-966f4406d903a4214fdc74bec54710c6232a95b8.zip |
[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>
Diffstat (limited to 'arch/mips/kernel/time.c')
0 files changed, 0 insertions, 0 deletions