Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100543
b: refs/heads/master
c: 3713567
h: refs/heads/master
i:
  100541: e64dba4
  100539: f45448f
  100535: 24d1a50
  100527: 7d6a6c4
  100511: 967081a
  100479: 2f8ff73
v: v3
  • Loading branch information
Ingo Molnar authored and Thomas Gleixner committed May 23, 2008
1 parent e27b400 commit 02d9e3b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d05f5f9906740474eb768823004ffcd775b12ca6
refs/heads/master: 37135677e653537ffc6e7def679443272a1c03c3
9 changes: 8 additions & 1 deletion trunk/arch/x86/kernel/i386_ksyms_32.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
#include <linux/ftrace.h>
#include <linux/module.h>

#include <asm/checksum.h>
#include <asm/desc.h>
#include <asm/pgtable.h>
#include <asm/desc.h>

#ifdef CONFIG_FTRACE
/* mcount is defined in assembly */
EXPORT_SYMBOL(mcount);
#endif

/* Networking helper routines. */
EXPORT_SYMBOL(csum_partial_copy_generic);
Expand Down
11 changes: 9 additions & 2 deletions trunk/arch/x86/kernel/x8664_ksyms_64.c
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
/* Exports for assembly files.
All C exports should go in the respective C files. */

#include <linux/ftrace.h>
#include <linux/module.h>
#include <net/checksum.h>
#include <linux/smp.h>

#include <net/checksum.h>

#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
#include <asm/desc.h>

#ifdef CONFIG_FTRACE
/* mcount is defined in assembly */
EXPORT_SYMBOL(mcount);
#endif

EXPORT_SYMBOL(kernel_thread);

EXPORT_SYMBOL(__get_user_1);
Expand Down
3 changes: 0 additions & 3 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ static struct ftrace_ops ftrace_list_end __read_mostly =
static struct ftrace_ops *ftrace_list __read_mostly = &ftrace_list_end;
ftrace_func_t ftrace_trace_function __read_mostly = ftrace_stub;

/* mcount is defined per arch in assembly */
EXPORT_SYMBOL(mcount);

void ftrace_list_func(unsigned long ip, unsigned long parent_ip)
{
struct ftrace_ops *op = ftrace_list;
Expand Down

0 comments on commit 02d9e3b

Please sign in to comment.