Blackfin: update ftrace for latest toolchain
authorYi Li <yi.li@analog.com>
Tue, 15 Sep 2009 09:24:31 +0000 (09:24 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 02:10:52 +0000 (22:10 -0400)
commit5bf9cbef9972f851172391a37261b12bba63f733
tree6ca84de9aea486b563c53a0a9f9be0950f74c990
parent3b67d91b3e2c789952379f5157704c2162330492
Blackfin: update ftrace for latest toolchain

The mcount support that was finally added to the Blackfin gcc port isn't
exactly the same as what ftrace was developed against.  Now that the final
gcc version is in place, update the ftrace code to match.

While updating this, fix the swapped arguments to the tracer (signature is
(ip, parent_ip) while we were passing (parent_ip, ip)).

Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/ftrace.h
arch/blackfin/kernel/ftrace-entry.S