From: Rabin Vincent Date: Wed, 29 Feb 2012 14:59:07 +0000 (+0100) Subject: ARM: 7351/1: ftrace: remove useless memory checks X-Git-Tag: v3.4-rc1~36^2~1^3~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc283d7037555aa6891188719be2f1b4af9535c9;p=pandora-kernel.git ARM: 7351/1: ftrace: remove useless memory checks Before replacing an instruction, the ftrace code determines what the old instruction should be and verifies that that's what's really there in memory before replacing it. This is useful if for example a bug in mcountrecord causes it to record wrong locations. However, in cases where we replace call sites in entry-common.S, these checks are not needed. For these, we currently just memcpy() the memory content and then "verify" it -- this is quite useless and can be removed. Signed-off-by: Rabin Vincent Signed-off-by: Russell King --- Reading git-diff-tree failed