]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/ftrace.c
powerpc/ftrace: Fix #if that should be #ifdef
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / ftrace.c
index 5455943f16aa4d84e86dcce9f558af9d79cab79b..c2b90a941f77f0cb4ef7b31394b7251e1f69b005 100644 (file)
@@ -564,7 +564,7 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
        if (unlikely(atomic_read(&current->tracing_graph_pause)))
                return;
 
-#if CONFIG_PPC64
+#ifdef CONFIG_PPC64
        /* non core kernel code needs to save and restore the TOC */
        if (REGION_ID(self_addr) != KERNEL_REGION_ID)
                return_hooker = (unsigned long)&mod_return_to_handler;