From: Michal Simek Date: Tue, 21 Jul 2009 10:48:01 +0000 (+0200) Subject: microblaze: Support unaligned address for put/get_user macros X-Git-Tag: v2.6.31-rc5~86^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3863dbceac7e69642b95f43de1c12c6236fdbe5b;p=pandora-kernel.git microblaze: Support unaligned address for put/get_user macros This patch add support for cases where load/store instruction in put/get_user macro gets unaligned pointer to data and this address is not valid. I prevent all cases which can failed. I had to disable first stage of unaligned handler which is used only for noMMU kernel and the whole work is done when interrupt is enabled. You have enable HW support for detect unaligned access in Microblaze. This patch fixed three LTP tests: getpeername01, getsockname01, socketpair01 Signed-off-by: Michal Simek --- Reading git-diff-tree failed