]> git.karo-electronics.de Git - mv-sheeva.git/commit
MIPS: Tracing: Cleanup of instructions used
authorWu Zhangjin <wuzhangjin@gmail.com>
Fri, 14 May 2010 11:08:31 +0000 (19:08 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jul 2010 16:17:29 +0000 (17:17 +0100)
commit4d6829f92a02d96e1bec2ffe6ee674ef3b49722b
treee2fe7f3058f68e1ae1c9b26dedb6cc18f46ce12a
parent3a2af2dc1bcbfe86b1f39e9e5f9c2c5447943f16
MIPS: Tracing: Cleanup of instructions used

This patch adds some cleanups of the instructions:
  o use macros instead of magic numbers
  o use macros instead of variables to reduce some overhead
  o add new macro for the jal instruction

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips <linux-mips@linux-mips.org>
Cc: David Daney <david.s.daney@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/1229/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/ftrace.c