projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddacd0b
)
sparc64: Kill unnecessary static on local var in ftrace_call_replace().
author
David S. Miller
<davem@davemloft.net>
Wed, 7 Apr 2010 00:32:08 +0000
(17:32 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Apr 2010 05:36:10 +0000
(22:36 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ftrace.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/ftrace.c
b/arch/sparc/kernel/ftrace.c
index 9103a56b39e839aed5af1f1f7b8fa78b9f7beee3..2ea6e4ff7fd2bd2ae2716af43bd87f1b68910c8e 100644
(file)
--- a/
arch/sparc/kernel/ftrace.c
+++ b/
arch/sparc/kernel/ftrace.c
@@
-13,7
+13,7
@@
static const u32 ftrace_nop = 0x01000000;
static u32 ftrace_call_replace(unsigned long ip, unsigned long addr)
{
-
static
u32 call;
+ u32 call;
s32 off;
off = ((s32)addr - (s32)ip);