ftrace: Format MCOUNT_ADDR address as type unsigned long
authorMinfei Huang <mnfhuang@gmail.com>
Sun, 12 Jul 2015 09:52:24 +0000 (17:52 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 21 Jul 2015 02:30:53 +0000 (22:30 -0400)
commitc93bf928fea22c61f6b5c04786b325c9bfbc0462
tree10c4ddd17f8b1e2e3040d98a90863a5841262620
parentb838e1d96c613019095ba008afbee800977b0582
ftrace: Format MCOUNT_ADDR address as type unsigned long

Always we use type unsigned long to format the ip address, since the
value of ip address is never the negative.

This patch uses type unsigned long, instead of long, to format the ip
address. The code is more clearly to be viewed by using type unsigned
long, although it is correct by using either unsigned long or long.

Link: http://lkml.kernel.org/r/1436694744-16747-1-git-send-email-mhuang@redhat.com
Cc: Minfei Huang <mnfhuang@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/metag/include/asm/ftrace.h
arch/microblaze/include/asm/ftrace.h
arch/powerpc/include/asm/ftrace.h
arch/sh/include/asm/ftrace.h
arch/sparc/include/asm/ftrace.h
arch/x86/include/asm/ftrace.h