~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to arch/powerpc/kernel/ftrace.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <asm/cacheflush.h>
23
23
#include <asm/code-patching.h>
24
24
#include <asm/ftrace.h>
 
25
#include <asm/syscall.h>
25
26
 
26
27
 
27
28
#ifdef CONFIG_DYNAMIC_FTRACE
600
601
        }
601
602
}
602
603
#endif /* CONFIG_FUNCTION_GRAPH_TRACER */
 
604
 
 
605
#if defined(CONFIG_FTRACE_SYSCALLS) && defined(CONFIG_PPC64)
 
606
unsigned long __init arch_syscall_addr(int nr)
 
607
{
 
608
        return sys_call_table[nr*2];
 
609
}
 
610
#endif /* CONFIG_FTRACE_SYSCALLS && CONFIG_PPC64 */