Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163517
b: refs/heads/master
c: f133278
h: refs/heads/master
i:
  163515: f013a5e
v: v3
  • Loading branch information
Paul Mundt committed Aug 24, 2009
1 parent 05f098d commit 96d8d4c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 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: 56fd1260a8de3738034588c6e32262960c5b2660
refs/heads/master: f13327864f94c3a0e6acca923df537d20059639f
1 change: 1 addition & 0 deletions trunk/arch/sh/include/asm/ftrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#ifdef CONFIG_FUNCTION_TRACER

#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
#define FTRACE_SYSCALL_MAX (NR_syscalls - 1)

#ifndef __ASSEMBLY__
extern void mcount(void);
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/sh/kernel/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,6 @@ static struct syscall_metadata *find_syscall_meta(unsigned long *syscall)
return NULL;
}

#define FTRACE_SYSCALL_MAX (NR_syscalls - 1)

struct syscall_metadata *syscall_nr_to_meta(int nr)
{
if (!syscalls_metadata || nr >= FTRACE_SYSCALL_MAX || nr < 0)
Expand Down

0 comments on commit 96d8d4c

Please sign in to comment.