From: Michal Simek Date: Mon, 13 Jul 2009 14:46:54 +0000 (+0200) Subject: microblaze: Fix put_user macro for 64bits arguments X-Git-Tag: v2.6.31-rc5~86^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bcb63b21327427b130edeb6e6ad44ee260b3043;p=pandora-kernel.git microblaze: Fix put_user macro for 64bits arguments For 64bits arguments gcc caused that put_user macro works with wrong value because of optimalization. Adding volatile caused that gcc not optimized it. It is possible to use (as Blackfin do) two put_user macros with 32bits arguments but there is one more instruction which is due to duplication zero return value which is called put_user_asm macro. Signed-off-by: Michal Simek --- Reading git-diff-tree failed