powerpc/ftrace: Fix #if that should be #ifdef
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 6 Apr 2009 04:40:45 +0000 (04:40 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Apr 2009 05:19:00 +0000 (15:19 +1000)
commitf4952f6cbeb025bc90906b740dc495f4817266d6
tree304a3618e18bd9da75640a31c73d3b11eb648065
parentbc826666e4252f78d2b144af3b7d699ff5efce0a
powerpc/ftrace: Fix #if that should be #ifdef

Commit bb7253403f7a4670a128e4c080fd8ea1bd4d5029 ("powerpc64,
ftrace: save toc only on modules for function graph"), added an
#if CONFIG_PPC64.  This changes it to #ifdef.

Fixes the following warning on 32-bit builds:
 arch/powerpc/kernel/ftrace.c:562:5: error: "CONFIG_PPC64" is not defined

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ftrace.c