From: Ralf Baechle Date: Wed, 15 Mar 2006 11:36:31 +0000 (+0000) Subject: [MIPS] Work around bad code generation for . X-Git-Tag: v2.6.16~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=966f4406d903a4214fdc74bec54710c6232a95b8;p=pandora-kernel.git [MIPS] Work around bad code generation for . 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 --- Reading git-diff-tree failed